|
WebCab Options and Futures Demo v2.5 (J2SE Edition) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--webcab.lib.calendar.AbstractBusinessCalendar
|
+--webcab.lib.calendar.cities.TokyoBusinessCalendar
Tokyo business calendar.
Regular holidays:
Implemented one-time holidays:
Holidays falling on a Sunday are observed on the Monday following except for the Bank Holidays associated with the New Year.
Equinoxes are calculated using the astronomical equinox date. See National Holidays(website)
| Field Summary |
| Fields inherited from class webcab.lib.calendar.AbstractBusinessCalendar |
DAYS_IN_A_WEEK, MILLISECONDS_IN_A_DAY, MILLISECONDS_IN_A_HOUR, MILLISECONDS_IN_A_MINUTE, MILLISECONDS_IN_A_SECOND |
| Method Summary | |
static TokyoBusinessCalendar |
getInstance()
The only way of getting a TokyoBusinessCalendar instance. |
protected boolean |
isHoliday(Calendar date)
Returns true if the specified date calendar is a working day. |
| Methods inherited from class webcab.lib.calendar.AbstractBusinessCalendar |
checkDayOfWeek, checkOrder, daysBetween, daysBetweenAsPercentAtYear, daysOfWeekBetween, getName, isHoliday, isWorkingDay, nextHoliday, nextPaymentDate, nextWorkingDay, previousPaymentDate, workingDaysBetween, yearsBetween |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static TokyoBusinessCalendar getInstance()
TokyoBusinessCalendar instance.
protected boolean isHoliday(Calendar date)
true if the specified date calendar is a working day.
isHoliday in class AbstractBusinessCalendardate - the date to check
true if the specified date calendar is a working day,
false otherwiseBusinessCalendar.isHoliday(Date),
AbstractBusinessCalendar.isWorkingDay(Date),
BusinessCalendar.isHoliday(Date)
|
WebCab Options and Futures Demo v2.5 (J2SE Edition) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||