Class Day.ABSOLUTE
java.lang.Object
com.walkfares.calendar.period.type.Day.ABSOLUTE
- All Implemented Interfaces:
AbsolutePeriodCode
,FixedPeriodCode
,PeriodCode
,Comparable<PeriodCode>
- Enclosing class:
- Day
public static class Day.ABSOLUTE extends Object implements AbsolutePeriodCode, FixedPeriodCode
-
Constructor Summary
Constructors Constructor Description ABSOLUTE()
-
Method Summary
Modifier and Type Method Description String
getCode()
UTCDate
getEnd()
UTCDate
getEnd(CurveDate curveDate)
UTCDate
getExpiry(CurveDate curveDate)
RelativePeriodCode
getRelativePeriodCode(int period)
UTCDate
getStart()
UTCDate
getStart(CurveDate curveDate)
PeriodCodeType
getType()
AbsolutePeriodCode
next()
AbsolutePeriodCode
previous()
AbsolutePeriodCode
setPeriod(int year, int month, int... periods)
String
toString()
AbsolutePeriodCode
withDate(UTCDate date)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.walkfares.calendar.period.AbsolutePeriodCode
getPeriodCode, getRelativePeriodCode, isRelative, next, previous, setPeriod, toMonths
Methods inherited from interface com.walkfares.calendar.period.PeriodCode
compareTo, getHashCode, getType, isFinancial, isFixed, isHybrid, isRelativeOnly, isValid
-
Constructor Details
-
ABSOLUTE
public ABSOLUTE()
-
-
Method Details
-
setPeriod
- Specified by:
setPeriod
in interfaceAbsolutePeriodCode
-
getRelativePeriodCode
- Specified by:
getRelativePeriodCode
in interfaceAbsolutePeriodCode
-
getCode
- Specified by:
getCode
in interfacePeriodCode
-
toString
-
getType
- Specified by:
getType
in interfacePeriodCode
-
getStart
- Specified by:
getStart
in interfaceAbsolutePeriodCode
-
getEnd
- Specified by:
getEnd
in interfaceAbsolutePeriodCode
-
next
- Specified by:
next
in interfaceAbsolutePeriodCode
-
previous
- Specified by:
previous
in interfaceAbsolutePeriodCode
-
withDate
- Specified by:
withDate
in interfaceAbsolutePeriodCode
-
getStart
- Specified by:
getStart
in interfaceFixedPeriodCode
-
getEnd
- Specified by:
getEnd
in interfaceFixedPeriodCode
-
getExpiry
- Specified by:
getExpiry
in interfaceFixedPeriodCode
-