WebCab Bonds Demo
(J2EE Edition)

webcab.lib.calendar.cities
Class LondonBusinessCalendar

java.lang.Object
  |
  +--webcab.lib.calendar.AbstractBusinessCalendar
        |
        +--webcab.lib.calendar.cities.LondonBusinessCalendar
All Implemented Interfaces:
BusinessCalendar, Serializable

public final class LondonBusinessCalendar
extends AbstractBusinessCalendar

London business calendar.

Holidays:

See Bank and public holidays in England, Wales and Northern Ireland 2002-2005 and National Holidays(website)

See Also:
Serialized Form

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 LondonBusinessCalendar getInstance()
          The only way of getting a LondonBusinessCalendar 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

getInstance

public static LondonBusinessCalendar getInstance()
The only way of getting a LondonBusinessCalendar instance.

Returns:
an instance of this business calendar

isHoliday

protected boolean isHoliday(Calendar date)
Returns true if the specified date calendar is a working day.

Specified by:
isHoliday in class AbstractBusinessCalendar
Parameters:
date - the date to check
Returns:
true if the specified date calendar is a working day, false otherwise
See Also:
BusinessCalendar.isHoliday(Date), AbstractBusinessCalendar.isWorkingDay(Date), BusinessCalendar.isHoliday(Date)

WebCab Bonds Demo
(J2EE Edition)