Class Financial.YEAR
java.lang.Object
com.walkfares.calendar.period.type.Financial.YEAR
- All Implemented Interfaces:
FinancialPeriodCode
,FixedPeriodCode
,PeriodCode
,Comparable<PeriodCode>
- Enclosing class:
- Financial
public static class Financial.YEAR extends Object implements FinancialPeriodCode, FixedPeriodCode
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.walkfares.calendar.period.FinancialPeriodCode
FinancialPeriodCode.financialPeriodType
-
Constructor Summary
Constructors Constructor Description YEAR()
-
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.walkfares.calendar.period.FinancialPeriodCode
getType, isFinancial, isRelative
Methods inherited from interface com.walkfares.calendar.period.PeriodCode
compareTo, getHashCode, getType, isFixed, isHybrid, isRelativeOnly, isValid
-
Constructor Details
-
YEAR
public YEAR()
-
-
Method Details
-
getFinancialPeriodType
- Specified by:
getFinancialPeriodType
in interfaceFinancialPeriodCode
-
getStart
- Specified by:
getStart
in interfaceFixedPeriodCode
-
getEnd
- Specified by:
getEnd
in interfaceFixedPeriodCode
-
getExpiry
- Specified by:
getExpiry
in interfaceFixedPeriodCode
-
setPeriod
- Specified by:
setPeriod
in interfaceFinancialPeriodCode
-
getPeriod
public int getPeriod()- Specified by:
getPeriod
in interfaceFinancialPeriodCode
-
getCode
- Specified by:
getCode
in interfacePeriodCode
-