Class Custom
java.lang.Object
com.walkfares.calendar.period.type.Custom
- All Implemented Interfaces:
PeriodCode
,Comparable<PeriodCode>
public class Custom extends Object implements PeriodCode
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description String
getCode()
PeriodCodeType
getType()
boolean
isRelative()
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, isRelativeOnly, isValid
-
Constructor Details
-
Method Details
-
getCode
- Specified by:
getCode
in interfacePeriodCode
-
getType
- Specified by:
getType
in interfacePeriodCode
-
isRelative
public boolean isRelative()- Specified by:
isRelative
in interfacePeriodCode
-