| java.lang.Object com.ibm.icu.util.Holiday com.ibm.icu.util.SimpleHoliday
SimpleHoliday | public class SimpleHoliday extends Holiday (Code) | | A holiday whose date can be represented by a month, day, and optionally day of week
in the Gregorian calendar.
|
Constructor Summary | |
public | SimpleHoliday(int month, int dayOfMonth, String name) Construct an object representing a holiday
Parameters: month - The month in which this holiday occurs (0-based) Parameters: dayOfMonth - The date within the month (1-based). Parameters: name - The name of this holiday. | public | SimpleHoliday(int month, int dayOfMonth, String name, int startYear) Construct an object representing a holiday
Parameters: month - The month in which this holiday occurs (0-based) Parameters: dayOfMonth - The date within the month (1-based). Parameters: name - The name of this holiday. | public | SimpleHoliday(int month, int dayOfMonth, String name, int startYear, int endYear) Construct an object representing a holiday
Parameters: month - The month in which this holiday occurs (0-based) Parameters: dayOfMonth - The date within the month (1-based). Parameters: name - The name of this holiday. | public | SimpleHoliday(int month, int dayOfMonth, int dayOfWeek, String name) // TODO: remove
Construct an object representing a holiday
Parameters: month - The month in which this holiday occurs (0-based) Parameters: dayOfMonth - A date within the month (1-based). | public | SimpleHoliday(int month, int dayOfMonth, int dayOfWeek, String name, int startYear) | public | SimpleHoliday(int month, int dayOfMonth, int dayOfWeek, String name, int startYear, int endYear) |
ALL_SAINTS_DAY | final public static SimpleHoliday ALL_SAINTS_DAY(Code) | | All Saints' Day, November 1st
|
ALL_SOULS_DAY | final public static SimpleHoliday ALL_SOULS_DAY(Code) | | All Souls' Day, November 1st
|
CHRISTMAS_EVE | final public static SimpleHoliday CHRISTMAS_EVE(Code) | | Christmas Eve, December 24th
|
IMMACULATE_CONCEPTION | final public static SimpleHoliday IMMACULATE_CONCEPTION(Code) | | Immaculate Conception, December 8th
|
NEW_YEARS_DAY | final public static SimpleHoliday NEW_YEARS_DAY(Code) | | New Year's Day - January 1st
|
NEW_YEARS_EVE | final public static SimpleHoliday NEW_YEARS_EVE(Code) | | New Year's Eve, December 31st
|
ST_STEPHENS_DAY | final public static SimpleHoliday ST_STEPHENS_DAY(Code) | | Saint Stephen's Day, December 26th
|
SimpleHoliday | public SimpleHoliday(int month, int dayOfMonth, String name)(Code) | | Construct an object representing a holiday
Parameters: month - The month in which this holiday occurs (0-based) Parameters: dayOfMonth - The date within the month (1-based). Parameters: name - The name of this holiday. This string is used as a keyto look up the holiday's name a resource bundle.If the name is not found in the resource bundle,getDisplayName will return this string instead. See Also: Holiday.getDisplayName(java.util.Locale) |
SimpleHoliday | public SimpleHoliday(int month, int dayOfMonth, String name, int startYear)(Code) | | Construct an object representing a holiday
Parameters: month - The month in which this holiday occurs (0-based) Parameters: dayOfMonth - The date within the month (1-based). Parameters: name - The name of this holiday. This string is used as a keyto look up the holiday's name a resource bundle.If the name is not found in the resource bundle,getDisplayName will return this string instead. See Also: Holiday.getDisplayName(java.util.Locale) |
SimpleHoliday | public SimpleHoliday(int month, int dayOfMonth, String name, int startYear, int endYear)(Code) | | Construct an object representing a holiday
Parameters: month - The month in which this holiday occurs (0-based) Parameters: dayOfMonth - The date within the month (1-based). Parameters: name - The name of this holiday. This string is used as a keyto look up the holiday's name a resource bundle.If the name is not found in the resource bundle,getDisplayName will return this string instead. See Also: Holiday.getDisplayName(java.util.Locale) |
SimpleHoliday | public SimpleHoliday(int month, int dayOfMonth, int dayOfWeek, String name)(Code) | | // TODO: remove
Construct an object representing a holiday
Parameters: month - The month in which this holiday occurs (0-based) Parameters: dayOfMonth - A date within the month (1-based). Theinterpretation of this parameter depends on the value ofdayOfWeek . Parameters: dayOfWeek - The day of the week on which this holiday occurs.The following values are legal: - dayOfWeek == 0 - use dayOfMonth only
- dayOfWeek < 0 - use last -dayOfWeek before or on dayOfMonth
- dayOfWeek > 0 - use first dayOfWeek after or on dayOfMonth
Parameters: name - The name of this holiday. This string is used as a keyto look up the holiday's name a resource bundle.If the name is not found in the resource bundle,getDisplayName will return this string instead. See Also: Holiday.getDisplayName(java.util.Locale) |
SimpleHoliday | public SimpleHoliday(int month, int dayOfMonth, int dayOfWeek, String name, int startYear)(Code) | | |
SimpleHoliday | public SimpleHoliday(int month, int dayOfMonth, int dayOfWeek, String name, int startYear, int endYear)(Code) | | |
|
|