NebulaGraph Java Client  release-3.6
TimeWrapper Class Reference
+ Inheritance diagram for TimeWrapper:
+ Collaboration diagram for TimeWrapper:

Public Member Functions

 TimeWrapper (Time time)
 TimeWrapper is a wrapper for the time tyoe of nebula-graph. More...
 
byte getHour ()
 
byte getMinute ()
 
byte getSecond ()
 
int getMicrosec ()
 
Time getLocalTime ()
 
Time getTimeWithTimezoneOffset (int timezoneOffset)
 
String getLocalTimeStr ()
 
String getUTCTimeStr ()
 
String toString ()
 
boolean equals (Object o)
 
int hashCode ()
 
- Public Member Functions inherited from BaseDataObject
String getDecodeType ()
 
BaseDataObject setDecodeType (String decodeType)
 
int getTimezoneOffset ()
 
BaseDataObject setTimezoneOffset (int timezoneOffset)
 

Detailed Description

Definition at line 11 of file TimeWrapper.java.

Constructor & Destructor Documentation

◆ TimeWrapper()

TimeWrapper ( Time  time)

TimeWrapper is a wrapper for the time tyoe of nebula-graph.

Parameters
timethe utc time

Definition at line 18 of file TimeWrapper.java.

Member Function Documentation

◆ getHour()

byte getHour ( )
Returns
utc Time hour

Definition at line 25 of file TimeWrapper.java.

◆ getLocalTime()

Time getLocalTime ( )
Returns
the Time with the timezone

Definition at line 53 of file TimeWrapper.java.

+ Here is the call graph for this function:

◆ getLocalTimeStr()

String getLocalTimeStr ( )
Returns
the Time String with the timezone

Definition at line 67 of file TimeWrapper.java.

+ Here is the call graph for this function:

◆ getMicrosec()

int getMicrosec ( )
Returns
utc Time microsec

Definition at line 46 of file TimeWrapper.java.

◆ getMinute()

byte getMinute ( )
Returns
utc Time minute

Definition at line 32 of file TimeWrapper.java.

◆ getSecond()

byte getSecond ( )
Returns
utc Time second

Definition at line 39 of file TimeWrapper.java.

◆ getTimeWithTimezoneOffset()

Time getTimeWithTimezoneOffset ( int  timezoneOffset)
Returns
the Time with the specified timezoneOffset

Definition at line 60 of file TimeWrapper.java.

+ Here is the call graph for this function:

◆ getUTCTimeStr()

String getUTCTimeStr ( )
Returns
the utc Time String

Definition at line 76 of file TimeWrapper.java.

◆ toString()

String toString ( )
Returns
the utc time string

Definition at line 85 of file TimeWrapper.java.

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: