Class Short.SUN
java.lang.Object
com.walkfares.calendar.period.type.Short.SUN
- All Implemented Interfaces:
FixedPeriodCode
,PeriodCode
,Comparable<PeriodCode>
- Enclosing class:
- Short
public static class Short.SUN extends Object implements FixedPeriodCode, PeriodCode
-
Constructor Summary
Constructors Constructor Description SUN()
-
Method Summary
Modifier and Type Method Description String
getCode()
UTCDate
getEnd(CurveDate curveDate)
UTCDate
getExpiry(CurveDate curveDate)
UTCDate
getStart(CurveDate curveDate)
PeriodCodeType
getType()
boolean
isRelative()
boolean
isRelativeOnly()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.walkfares.calendar.period.PeriodCode
compareTo, getHashCode, getType, isFinancial, isFixed, isHybrid, isValid
-
Constructor Details
-
SUN
public SUN()
-
-
Method Details
-
getStart
- Specified by:
getStart
in interfaceFixedPeriodCode
-
getEnd
- Specified by:
getEnd
in interfaceFixedPeriodCode
-
getExpiry
- Specified by:
getExpiry
in interfaceFixedPeriodCode
-
getCode
- Specified by:
getCode
in interfacePeriodCode
-
getType
- Specified by:
getType
in interfacePeriodCode
-
isRelative
public boolean isRelative()- Specified by:
isRelative
in interfacePeriodCode
-
isRelativeOnly
public boolean isRelativeOnly()- Specified by:
isRelativeOnly
in interfacePeriodCode
-