Home | History | Annotate | Download | only in text

Lines Matching defs:DAYPERIOD

376     // Get the data for dayperiod C.
592 // 1,2 => abbreviated dayPeriod (field length 1..3)
593 // 3,4 => long dayPeriod (field length 4)
594 // 5,6 => narrow dayPeriod (field length 5)
1071 public static final int DAYPERIOD = 10;
1356 * MONTH, DAY, WEEK_OF_YEAR, WEEK_OF_MONTH, WEEKDAY, DAY, DAYPERIOD
1631 // if (type == ZONE || type == DAYPERIOD || type == WEEKDAY) return result; // skip anything with zones
2077 "day", "dayOfYear", "weekdayOfMonth", "dayperiod",
2083 "Day", "Day_Of_Year", "Day_of_Week_in_Month", "Dayperiod",
2107 // 'a', // 10 DAYPERIOD "dayperiod"
2118 DATE_MASK = (1<<DAYPERIOD) - 1,
2254 {'a', DAYPERIOD, SHORT, 1, 3},
2255 {'a', DAYPERIOD, LONG, 4},
2256 {'a', DAYPERIOD, NARROW, 5},
2257 {'b', DAYPERIOD, SHORT - DELTA, 1, 3},
2258 {'b', DAYPERIOD, LONG - DELTA, 4},
2259 {'b', DAYPERIOD, NARROW - DELTA, 5},
2261 {'B', DAYPERIOD, SHORT - 3*DELTA, 1, 3},
2262 {'B', DAYPERIOD, LONG - 3*DELTA, 4},
2263 {'B', DAYPERIOD, NARROW - 3*DELTA, 5},
2379 if (skipDayPeriod && i == DAYPERIOD) {
2485 // don't skip 'a' anymore, dayPeriod handled specially below
2517 if (original.isFieldEmpty(DAYPERIOD)) {
2518 // But we do not have a day period in the skeleton; add the default DAYPERIOD (currently "a")
2521 if (row[1] == DAYPERIOD) {
2522 // first entry for DAYPERIOD
2523 original.populate(DAYPERIOD, (char)row[0], row[3]);
2524 baseOriginal.populate(DAYPERIOD, (char)row[0], row[3]);
2525 type[DAYPERIOD] = row[2];
2531 } else if (!original.isFieldEmpty(DAYPERIOD)) {
2532 // Skeleton has 24-hour-cycle hour format and has dayPeriod, delete dayPeriod (i.e. ignore it)
2533 original.clearField(DAYPERIOD);
2534 baseOriginal.clearField(DAYPERIOD);
2535 type[DAYPERIOD] = NONE;