• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* GENERATED SOURCE. DO NOT MODIFY. */
2 // © 2016 and later: Unicode, Inc. and others.
3 // License & terms of use: http://www.unicode.org/copyright.html#License
4 /*
5  *******************************************************************************
6  * Copyright (C) 1996-2010, International Business Machines Corporation and    *
7  * others. All Rights Reserved.                                                *
8  *******************************************************************************
9  */
10 
11 package ohos.global.icu.impl.data;
12 
13 import java.util.Calendar;
14 import java.util.ListResourceBundle;
15 
16 import ohos.global.icu.util.EasterHoliday;
17 import ohos.global.icu.util.Holiday;
18 import ohos.global.icu.util.SimpleHoliday;
19 
20 /**
21  * @hide exposed on OHOS
22  */
23 public class HolidayBundle_en_US extends ListResourceBundle
24 {
25     static private final Holiday[] fHolidays = {
26         SimpleHoliday.NEW_YEARS_DAY,
27         new SimpleHoliday(Calendar.JANUARY,   15, Calendar.MONDAY,      "Martin Luther King Day",   1986),
28 
29         new SimpleHoliday(Calendar.FEBRUARY,  15, Calendar.MONDAY,      "Presidents' Day",          1976),
30         new SimpleHoliday(Calendar.FEBRUARY,  22,                       "Washington's Birthday",    1776, 1975),
31 
32         EasterHoliday.GOOD_FRIDAY,
33         EasterHoliday.EASTER_SUNDAY,
34 
35         new SimpleHoliday(Calendar.MAY,        8, Calendar.SUNDAY,      "Mother's Day",             1914),
36 
37         new SimpleHoliday(Calendar.MAY,       31, -Calendar.MONDAY,     "Memorial Day",             1971),
38         new SimpleHoliday(Calendar.MAY,       30,                       "Memorial Day",             1868, 1970),
39 
40         new SimpleHoliday(Calendar.JUNE,      15, Calendar.SUNDAY,      "Father's Day",             1956),
41         new SimpleHoliday(Calendar.JULY,       4,                       "Independence Day",         1776),
42         new SimpleHoliday(Calendar.SEPTEMBER,  1, Calendar.MONDAY,      "Labor Day",                1894),
43         new SimpleHoliday(Calendar.NOVEMBER,   2, Calendar.TUESDAY,     "Election Day"),
44         new SimpleHoliday(Calendar.OCTOBER,    8, Calendar.MONDAY,      "Columbus Day",             1971),
45         new SimpleHoliday(Calendar.OCTOBER ,  31,                       "Halloween"),
46         new SimpleHoliday(Calendar.NOVEMBER,  11,                       "Veterans' Day",            1918),
47         new SimpleHoliday(Calendar.NOVEMBER,  22, Calendar.THURSDAY,    "Thanksgiving",             1863),
48 
49         SimpleHoliday.CHRISTMAS,
50     };
51     static private final Object[][] fContents = {
52         { "holidays",   fHolidays },
53     };
54     @Override
getContents()55     public synchronized Object[][] getContents() { return fContents; }
56 }
57