public class Period extends Object
Constructor and Description |
---|
Period(long start,
long end)
Creates a new time Period from the specified start time to the specified end time.
|
Modifier and Type | Method and Description |
---|---|
long |
getEnd() |
int |
getEndCode() |
long |
getStart() |
int |
getStartCode() |
public Period(long start, long end)
start
- The period start as the number of milliseconds from 1970-01-01T00:00:00Zend
- The period end as the number of milliseconds from 1970-01-01T00:00:00Zpublic long getStart()
public long getEnd()
public int getStartCode()
getFormatter()
public int getEndCode()
getFormatter()
Copyright © 2004–2021 XWiki. All rights reserved.