Home | History | Annotate | Download | only in text

Lines Matching defs:DAYPERIOD

372     // Get the data for dayperiod C.
589 // 1,2 => abbreviated dayPeriod (field length 1..3)
590 // 3,4 => long dayPeriod (field length 4)
591 // 5,6 => narrow dayPeriod (field length 5)
1042 public static final int DAYPERIOD = 10;
1316 * MONTH, DAY, WEEK_OF_YEAR, WEEK_OF_MONTH, WEEKDAY, DAY, DAYPERIOD
1603 // if (type == ZONE || type == DAYPERIOD || type == WEEKDAY) return result; // skip anything with zones
2052 "day", "dayOfYear", "weekdayOfMonth", "dayperiod",
2058 "Day", "Day_Of_Year", "Day_of_Week_in_Month", "Dayperiod",
2082 // 'a', // 10 DAYPERIOD "dayperiod"
2093 DATE_MASK = (1<<DAYPERIOD) - 1,
2229 {'a', DAYPERIOD, SHORT, 1, 3},
2230 {'a', DAYPERIOD, LONG, 4},
2231 {'a', DAYPERIOD, NARROW, 5},
2232 {'b', DAYPERIOD, SHORT - DELTA, 1, 3},
2233 {'b', DAYPERIOD, LONG - DELTA, 4},
2234 {'b', DAYPERIOD, NARROW - DELTA, 5},
2236 {'B', DAYPERIOD, SHORT - 3*DELTA, 1, 3},
2237 {'B', DAYPERIOD, LONG - 3*DELTA, 4},
2238 {'B', DAYPERIOD, NARROW - 3*DELTA, 5},
2354 if (skipDayPeriod && i == DAYPERIOD) {
2460 // don't skip 'a' anymore, dayPeriod handled specially below
2492 if (original.isFieldEmpty(DAYPERIOD)) {
2493 // But we do not have a day period in the skeleton; add the default DAYPERIOD (currently "a")
2496 if (row[1] == DAYPERIOD) {
2497 // first entry for DAYPERIOD
2498 original.populate(DAYPERIOD, (char)row[0], row[3]);
2499 baseOriginal.populate(DAYPERIOD, (char)row[0], row[3]);
2500 type[DAYPERIOD] = row[2];
2506 } else if (!original.isFieldEmpty(DAYPERIOD)) {
2507 // Skeleton has 24-hour-cycle hour format and has dayPeriod, delete dayPeriod (i.e. ignore it)
2508 original.clearField(DAYPERIOD);
2509 baseOriginal.clearField(DAYPERIOD);
2510 type[DAYPERIOD] = NONE;