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 VarStringassemble(VarString vc, TimeSpan.Format format)intgetDays()intgetHours()intgetMilliseconds()intgetMinutes()intgetSeconds()longgetTime()intgetYears()int[]toArray()StringtoString()StringtoString(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:
getMinutesin interfaceTimeSpan
-
getSeconds
public int getSeconds()- Specified by:
getSecondsin interfaceTimeSpan
-
getMilliseconds
public int getMilliseconds()- Specified by:
getMillisecondsin interfaceTimeSpan
-
getTime
public long getTime() -
toArray
public int[] toArray() -
toString
-
toString
-
assemble
-