public class CalendarFieldSplitPeriod extends SplitPeriod
SplitPeriod.PeriodIterator
Constructor and Description |
---|
CalendarFieldSplitPeriod(java.util.Calendar start,
int field,
int count,
int nsplit)
Make a new period consisting of nsplit blocks each
of count calendar units.
|
Modifier and Type | Method and Description |
---|---|
java.util.Calendar |
getCalStart() |
int |
getCount() |
int |
getField() |
int |
getNsplit() |
static long[] |
makeSplits(java.util.Calendar start,
int field,
int count,
int nsplit)
Instantiates a new split periodwhich start form the 'start' time,
and has 'count' splits of 'field' type.
|
getInstance, getInstance, getInstance, getSplits, getSubPeriodIterator, getSubPeriods
contains, equals, getEnd, getStart, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getEnd, getStart
public CalendarFieldSplitPeriod(java.util.Calendar start, int field, int count, int nsplit)
start
- the start timefield
- the field of the time intervalcount
- multiple of field in each blocknsplit
- number of blockspublic static long[] makeSplits(java.util.Calendar start, int field, int count, int nsplit)
start
- the start timefield
- the field of the time intervalcount
- multiple of field in each blocknsplit
- number of blockspublic int getField()
public int getCount()
public int getNsplit()
public java.util.Calendar getCalStart()