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