public class TimeWrapper extends BaseDataObject
| Constructor and Description |
|---|
TimeWrapper(Time time)
TimeWrapper is a wrapper for the time tyoe of nebula-graph
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
byte |
getHour() |
Time |
getLocalTime() |
String |
getLocalTimeStr() |
int |
getMicrosec() |
byte |
getMinute() |
byte |
getSecond() |
Time |
getTimeWithTimezoneOffset(int timezoneOffset) |
String |
getUTCTimeStr() |
int |
hashCode() |
String |
toString() |
getDecodeType, getTimezoneOffset, setDecodeType, setTimezoneOffsetpublic TimeWrapper(Time time)
time - the utc timepublic byte getHour()
public byte getMinute()
public byte getSecond()
public int getMicrosec()
public Time getLocalTime()
public Time getTimeWithTimezoneOffset(int timezoneOffset)
public String getLocalTimeStr()
public String getUTCTimeStr()
Copyright © 2022. All rights reserved.