Home
last modified time | relevance | path

Searched refs:timeInDay (Results 1 – 4 of 4) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/
DICUServiceBuilder.java857 public String formatDayPeriod(int timeInDay, Context context, Width width) {
859 DayPeriod period = dayPeriodInfo.getDayPeriod(timeInDay);
861 String result = formatDayPeriod(timeInDay, dayPeriodFormatString);
893 public String formatDayPeriod(int timeInDay, String dayPeriodFormatString) {
895 if ((timeInDay % 6) != 0) { // need a better way to test for this
913 String formatted = df.format(timeInDay);
/external/icu/android_icu4j/src/main/java/android/icu/util/
DVTimeZone.java992 int timeInDay = dfields[5]; in createRuleByRRULE()
1004 adtr = new DateTimeRule(month, dayOfMonth, timeInDay, DateTimeRule.WALL_TIME); in createRuleByRRULE()
1007 … adtr = new DateTimeRule(month, nthDayOfWeek, dayOfWeek, timeInDay, DateTimeRule.WALL_TIME); in createRuleByRRULE()
1011 … adtr = new DateTimeRule(month, dayOfMonth, dayOfWeek, true, timeInDay, DateTimeRule.WALL_TIME); in createRuleByRRULE()
1669 int timeInDay = dtrule.getRuleMillisInDay(); in writeFinalRule() local
1670 if (timeInDay < 0) { in writeFinalRule()
1671 startTime = startTime + (0 - timeInDay); in writeFinalRule()
1672 } else if (timeInDay >= Grego.MILLIS_PER_DAY) { in writeFinalRule()
1673 startTime = startTime - (timeInDay - (Grego.MILLIS_PER_DAY - 1)); in writeFinalRule()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DVTimeZone.java1023 int timeInDay = dfields[5]; in createRuleByRRULE()
1035 adtr = new DateTimeRule(month, dayOfMonth, timeInDay, DateTimeRule.WALL_TIME); in createRuleByRRULE()
1038 … adtr = new DateTimeRule(month, nthDayOfWeek, dayOfWeek, timeInDay, DateTimeRule.WALL_TIME); in createRuleByRRULE()
1042 … adtr = new DateTimeRule(month, dayOfMonth, dayOfWeek, true, timeInDay, DateTimeRule.WALL_TIME); in createRuleByRRULE()
1700 int timeInDay = dtrule.getRuleMillisInDay(); in writeFinalRule() local
1701 if (timeInDay < 0) { in writeFinalRule()
1702 startTime = startTime + (0 - timeInDay); in writeFinalRule()
1703 } else if (timeInDay >= Grego.MILLIS_PER_DAY) { in writeFinalRule()
1704 startTime = startTime - (timeInDay - (Grego.MILLIS_PER_DAY - 1)); in writeFinalRule()
/external/icu/icu4c/source/i18n/
Dvtzone.cpp2492 int32_t timeInDay = dtrule->getRuleMillisInDay(); in writeFinalRule() local
2493 if (timeInDay < 0) { in writeFinalRule()
2494 startTime = startTime + (0 - timeInDay); in writeFinalRule()
2495 } else if (timeInDay >= U_MILLIS_PER_DAY) { in writeFinalRule()
2496 startTime = startTime - (timeInDay - (U_MILLIS_PER_DAY - 1)); in writeFinalRule()