|
WebCab Bonds v2.01 (J2SE Edition) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--webcab.lib.calendar.BusinessCalendarUtilities
Utility class. It serves for finding out several religious, astronomical important dates specific to different regions of the globe.
| Field Summary | |
static String |
BEIJING_CALENDAR_NAME
A string constant which identifies the BeijingBusinessCalendar implementation.
|
static String |
BUDAPEST_CALENDAR_NAME
A string constant which identifies the BudapestBusinessCalendar implementation.
|
static String |
COPENHAGEN_CALENDAR_NAME
A string constant which identifies the CopenhagenBusinessCalendar implementation.
|
static String |
DEFAULT_CALENDAR_NAME
A string constant which identifies the DefaultBusinessCalendar implementation.
|
static String |
HONGKONG_CALENDAR_NAME
A string constant which identifies the HongKongBusinessCalendar implementation.
|
static String |
ITALY_CALENDAR_NAME
A string constant which identifies the ItalyBusinessCalendar implementation.
|
static String |
LONDON_CALENDAR_NAME
A string constant which identifies the LondonBusinessCalendar implementation.
|
static String |
NEWYORK_CALENDAR_NAME
A string constant which identifies the NewYorkBusinessCalendar implementation.
|
static String |
TOKYO_CALENDAR_NAME
A string constant which identifies the TokyoBusinessCalendar implementation.
|
| Method Summary | |
static int |
autumnalEquinox(int year)
Returns the Autumnal Equinox day as a day of year. |
static int |
catholicEasterMonday(int year)
Returns the Catholic Easter Monday day as a day of year. |
static Calendar |
dateToCalendar(Date date)
Gets the Calendar instance equivalent to Date instance, date. |
static BusinessCalendar |
getInstance(String cityCalendarName)
Factory method for getting specific business calendars. |
static int |
vernalEquinox(int year)
Returns the Vernal Equinox day as a day of year. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String DEFAULT_CALENDAR_NAME
DefaultBusinessCalendar implementation.
The value of this constant is DEFAULT.
public static final String NEWYORK_CALENDAR_NAME
NewYorkBusinessCalendar implementation.
The value of this constant is NEW_YORK.
public static final String LONDON_CALENDAR_NAME
LondonBusinessCalendar implementation.
The value of this constant is LONDON.
public static final String TOKYO_CALENDAR_NAME
TokyoBusinessCalendar implementation.
The value of this constant is TOKYO.
public static final String BEIJING_CALENDAR_NAME
BeijingBusinessCalendar implementation.
The value of this constant is BEIJING.
public static final String HONGKONG_CALENDAR_NAME
HongKongBusinessCalendar implementation.
The value of this constant is HONGKONG.
public static final String BUDAPEST_CALENDAR_NAME
BudapestBusinessCalendar implementation.
The value of this constant is BUDAPEST.
public static final String COPENHAGEN_CALENDAR_NAME
CopenhagenBusinessCalendar implementation.
The value of this constant is COPENHAGEN.
public static final String ITALY_CALENDAR_NAME
ItalyBusinessCalendar implementation.
The value of this constant is ITALY.
| Method Detail |
public static int catholicEasterMonday(int year)
year - the year we are interested in
IllegalArgumentException - if year is less than 1900
or greater than 2100public static int vernalEquinox(int year)
year - the year we are interested in
IllegalArgumentException - if year is less than 1900
or greater than 2100public static int autumnalEquinox(int year)
year - the year we are interested in
IllegalArgumentException - if year is less than 1900
or greater than 2100public static Calendar dateToCalendar(Date date)
Calendar instance equivalent to Date instance, date.
date - the date to transform
Calendar instance equivalent to Date instance, datepublic static BusinessCalendar getInstance(String cityCalendarName)
|
WebCab Bonds v2.01 (J2SE Edition) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||