Package one.microstream.time
Interface TimeSpan
-
- All Known Implementing Classes:
TimeSpan.Default
public interface TimeSpan
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TimeSpan.Default
static class
TimeSpan.Format
-
Field Summary
Fields Modifier and Type Field Description static int
INDEX_DAY
static int
INDEX_HOUR
static int
INDEX_MILLIS
static int
INDEX_MINUTE
static int
INDEX_SECOND
static int
INDEX_YEAR
static long
MS_PER_DAY
static long
MS_PER_HOUR
static long
MS_PER_MINUTE
static long
MS_PER_SECOND
static long
MS_PER_YEAR
-
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)
-
-
-
Field Detail
-
MS_PER_SECOND
static final long MS_PER_SECOND
- See Also:
- Constant Field Values
-
MS_PER_MINUTE
static final long MS_PER_MINUTE
- See Also:
- Constant Field Values
-
MS_PER_HOUR
static final long MS_PER_HOUR
- See Also:
- Constant Field Values
-
MS_PER_DAY
static final long MS_PER_DAY
- See Also:
- Constant Field Values
-
MS_PER_YEAR
static final long MS_PER_YEAR
- See Also:
- Constant Field Values
-
INDEX_MILLIS
static final int INDEX_MILLIS
- See Also:
- Constant Field Values
-
INDEX_SECOND
static final int INDEX_SECOND
- See Also:
- Constant Field Values
-
INDEX_MINUTE
static final int INDEX_MINUTE
- See Also:
- Constant Field Values
-
INDEX_HOUR
static final int INDEX_HOUR
- See Also:
- Constant Field Values
-
INDEX_DAY
static final int INDEX_DAY
- See Also:
- Constant Field Values
-
INDEX_YEAR
static final int INDEX_YEAR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getYears
int getYears()
-
getDays
int getDays()
-
getHours
int getHours()
-
getMinutes
int getMinutes()
-
getSeconds
int getSeconds()
-
getMilliseconds
int getMilliseconds()
-
getTime
long getTime()
-
toArray
int[] toArray()
-
toString
String toString(TimeSpan.Format format)
-
assemble
VarString assemble(VarString vc, TimeSpan.Format format)
-
-