Package com.walkfares.calendar.period
Interface FinancialPeriodCode
- All Superinterfaces:
Comparable<PeriodCode>
,PeriodCode
- All Known Implementing Classes:
Financial.MONTH
,Financial.ON
,Financial.SN
,Financial.SPOT
,Financial.SW
,Financial.TN
,Financial.WEEK
,Financial.YEAR
public interface FinancialPeriodCode extends PeriodCode
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FinancialPeriodCode.financialPeriodType
-
Method Summary
Modifier and Type Method Description FinancialPeriodCode.financialPeriodType
getFinancialPeriodType()
default int
getPeriod()
default PeriodCodeType
getType()
default boolean
isFinancial()
default boolean
isRelative()
default FinancialPeriodCode
setPeriod(int period)
Methods inherited from interface com.walkfares.calendar.period.PeriodCode
compareTo, getCode, getHashCode, getType, isFixed, isHybrid, isRelativeOnly, isValid
-
Method Details
-
setPeriod
-
getPeriod
default int getPeriod() -
getFinancialPeriodType
FinancialPeriodCode.financialPeriodType getFinancialPeriodType() -
getType
- Specified by:
getType
in interfacePeriodCode
-
isRelative
default boolean isRelative()- Specified by:
isRelative
in interfacePeriodCode
-
isFinancial
default boolean isFinancial()- Specified by:
isFinancial
in interfacePeriodCode
-