Package one.microstream.time
Class TimeSpan.Default
java.lang.Object
one.microstream.time.TimeSpan.Default
- All Implemented Interfaces:
TimeSpan
- Enclosing interface:
- TimeSpan
public static final class TimeSpan.Default extends Object implements TimeSpan
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.time.TimeSpan
TimeSpan.Default, TimeSpan.Format
-
Field Summary
Fields inherited from interface one.microstream.time.TimeSpan
INDEX_DAY, INDEX_HOUR, INDEX_MILLIS, INDEX_MINUTE, INDEX_SECOND, INDEX_YEAR, MS_PER_DAY, MS_PER_HOUR, MS_PER_MINUTE, MS_PER_SECOND, MS_PER_YEAR
-
Constructor Summary
Constructors Constructor Description Default(long time)
-
Method Summary
Modifier and Type Method Description VarString
assemble(VarString vc, TimeSpan.Format format)
int
getDays()
int
getHours()
int
getMilliseconds()
int
getMinutes()
int
getSeconds()
long
getTime()
int
getYears()
int[]
toArray()
String
toString()
String
toString(TimeSpan.Format format)
-
Constructor Details
-
Default
public Default(long time)
-
-
Method Details
-
getYears
public int getYears() -
getDays
public int getDays() -
getHours
public int getHours() -
getMinutes
public int getMinutes()- Specified by:
getMinutes
in interfaceTimeSpan
-
getSeconds
public int getSeconds()- Specified by:
getSeconds
in interfaceTimeSpan
-
getMilliseconds
public int getMilliseconds()- Specified by:
getMilliseconds
in interfaceTimeSpan
-
getTime
public long getTime() -
toArray
public int[] toArray() -
toString
-
toString
-
assemble
-