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 StringgetCode()PeriodCodeTypegetType()booleanisRelative()booleanisValid()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
-
Constructor Details
-
Method Details
-
getCode
- Specified by:
getCodein interfacePeriodCode
-
getType
- Specified by:
getTypein interfacePeriodCode
-
isRelative
public boolean isRelative()- Specified by:
isRelativein interfacePeriodCode
-
isValid
public boolean isValid()- Specified by:
isValidin interfacePeriodCode
-