Class Balance.BOM
java.lang.Object
com.walkfares.calendar.period.type.Balance.BOM
- All Implemented Interfaces:
FixedPeriodCode
,PeriodCode
,Comparable<PeriodCode>
- Enclosing class:
- Balance
public static class Balance.BOM extends Object implements FixedPeriodCode, PeriodCode
-
Constructor Summary
Constructors Constructor Description BOM()
-
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()
Balance.BOM
setStartOffset(int startOffset)
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
-
BOM
public BOM()
-
-
Method Details
-
setStartOffset
-
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
-