Package com.walkfares.calendar
Class IntradayCalendar
java.lang.Object
com.walkfares.calendar.IntradayCalendar
- All Implemented Interfaces:
Calendar
- Direct Known Subclasses:
BlockCalendar
public class IntradayCalendar extends Object implements Calendar
-
Field Summary
Fields Modifier and Type Field Description static IntradayCalendar
HOURLY
-
Constructor Summary
Constructors Constructor Description IntradayCalendar()
IntradayCalendar(long period)
IntradayCalendar(String detail)
IntradayCalendar(String code, String name, long period)
IntradayCalendar(String code, String name, long period, Calendar dayCalendar)
-
Method Summary
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.walkfares.calendar.Calendar
endOfPeriod, ensureIndex, isSparse, move, newInstance
-
Field Details
-
Constructor Details
-
IntradayCalendar
public IntradayCalendar() -
IntradayCalendar
public IntradayCalendar(long period) -
IntradayCalendar
-
IntradayCalendar
-
IntradayCalendar
-
-
Method Details
-
getTimezone
-
setTimezone
-
setTimezone
-
getCode
-
getName
-
getType
-
getHolidayCalendarCode
-
getIntervals
- Specified by:
getIntervals
in interfaceCalendar
-
getIntervals
- Specified by:
getIntervals
in interfaceCalendar
-
nextInterval
- Specified by:
nextInterval
in interfaceCalendar
-
prevInterval
- Specified by:
prevInterval
in interfaceCalendar
-
includes
-
alignBackwards
- Specified by:
alignBackwards
in interfaceCalendar
-
alignForwards
- Specified by:
alignForwards
in interfaceCalendar
-
getDetail
-
setDetail
-
setCode
-
setName
-
getPeriod
public long getPeriod() -
setPeriod
-
getDayCalendar
-
setDayCalendar
-
withoutHours
-
getWithoutHours
public int[] getWithoutHours() -
getBasis
-
validate
public void validate() -
isIntraday
public boolean isIntraday()- Specified by:
isIntraday
in interfaceCalendar
-
isUseHolidays
public boolean isUseHolidays() -
setUseHolidays
-
equals
-