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 StringgetCode()PeriodCodeTypegetType()booleanisRelative()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.walkfares.calendar.period.PeriodCode
compareTo, getHashCode, getType, isFinancial, isFixed, isHybrid, isRelativeOnly, isValid
-
Constructor Details
-
Method Details
-
getCode
- Specified by:
getCodein interfacePeriodCode
-
getType
- Specified by:
getTypein interfacePeriodCode
-
isRelative
public boolean isRelative()- Specified by:
isRelativein interfacePeriodCode
-