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

Public Member Functions

 DurationWrapper (Duration duration)
 DurationWrapper is a wrapper for the duration type of nebula-graph.
 
long getSeconds ()
 
int getMicroseconds ()
 @retrun utc duration microseconds
 
int getMonths ()
 
String getDurationString ()
 
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 DurationWrapper.java.

Member Function Documentation

◆ getDurationString()

String getDurationString ( )
Returns
the duration string

Definition at line 45 of file DurationWrapper.java.

+ Here is the call graph for this function:

◆ getMonths()

int getMonths ( )
Returns
utc duration months

Definition at line 38 of file DurationWrapper.java.

+ Here is the caller graph for this function:

◆ getSeconds()

long getSeconds ( )
Returns
utc duration seconds

Definition at line 24 of file DurationWrapper.java.

+ Here is the caller graph for this function:

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