NebulaGraph Java Client  release-3.6
TimeUtil Class Reference

Static Public Member Functions

static DateTime datetimeConvertWithTimezone (DateTime dateTime, int timezoneOffset)
 
static Time timeConvertWithTimezone (Time time, int timezoneOffset)
 

Detailed Description

Definition at line 14 of file TimeUtil.java.

Member Function Documentation

◆ datetimeConvertWithTimezone()

static DateTime datetimeConvertWithTimezone ( DateTime  dateTime,
int  timezoneOffset 
)
static
Parameters
dateTimethe utc datetime
timezoneOffsetthe timezone offset, unit is seconds
Returns
the datetime with the timezoneoffset

Definition at line 20 of file TimeUtil.java.

+ Here is the caller graph for this function:

◆ timeConvertWithTimezone()

static Time timeConvertWithTimezone ( Time  time,
int  timezoneOffset 
)
static
Parameters
timethe utc time
timezoneOffsetthe timezone offset, unit is seconds
Returns
the time with the timezone offset

Definition at line 45 of file TimeUtil.java.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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