public class DateInterval extends IterableInterval<Date,Integer,DateUnit,DateInterval>
| Constructor and Description |
|---|
DateInterval(Date left,
Date right,
int iStep,
DateUnit unit,
boolean bLeftClosed,
boolean bRightClosed,
boolean bReverse) |
DateInterval(Date left,
Date right,
Integer step,
DateUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
Date |
getFromLeft(int iStepIndex) |
Date |
getFromRight(int iStepIndex) |
Iterator<Date> |
iterateFromLeft() |
Iterator<Date> |
iterateFromRight() |
equals, getStep, getUnit, hashCode, iterator, step, toString, unitcontains, contains, getLeftEndpoint, getRightEndpoint, isLeftClosed, isReverse, isRightClosedclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorcontains, contains, getLeftEndpoint, getRightEndpoint, isLeftClosed, isReverse, isRightClosedpublic Iterator<Date> iterateFromLeft()
IIterableInterval.iterator(),
IIterableInterval.iterateFromRight()public Iterator<Date> iterateFromRight()
IIterableInterval.iterator(),
IIterableInterval.iterateFromLeft()public Date getFromLeft(int iStepIndex)
iStepIndex - The index of the step from the left endpointpublic Date getFromRight(int iStepIndex)
iStepIndex - The index of the step from the right endpointCopyright © 2022. All rights reserved.