Home
last modified time | relevance | path

Searched refs:millisInDay (Results 1 – 18 of 18) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/util/
DDateTimeRule.java74 private final int millisInDay; field in DateTimeRule
88 int millisInDay, int timeType) { in DateTimeRule() argument
93 this.millisInDay = millisInDay; in DateTimeRule()
116 int millisInDay, int timeType) { in DateTimeRule() argument
122 this.millisInDay = millisInDay; in DateTimeRule()
144 int millisInDay, int timeType) { in DateTimeRule() argument
150 this.millisInDay = millisInDay; in DateTimeRule()
222 return millisInDay; in getRuleMillisInDay()
265 int time = millisInDay; in toString()
DCalendar.java4547 int millisInDay = internalGet(MILLISECOND) + 1000 * (internalGet(SECOND) + in isWeekend() local
4551 ? (millisInDay >= transition) in isWeekend()
4552 : (millisInDay < transition); in isWeekend()
4911 int millisInDay = (int) (localMillis - (days * ONE_DAY)); in computeFields() local
4912 fields[MILLISECONDS_IN_DAY] = millisInDay; in computeFields()
4913 fields[MILLISECOND] = millisInDay % 1000; in computeFields()
4914 millisInDay /= 1000; in computeFields()
4915 fields[SECOND] = millisInDay % 60; in computeFields()
4916 millisInDay /= 60; in computeFields()
4917 fields[MINUTE] = millisInDay % 60; in computeFields()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DDateTimeRule.java87 private final int millisInDay; field in DateTimeRule
103 int millisInDay, int timeType) { in DateTimeRule() argument
108 this.millisInDay = millisInDay; in DateTimeRule()
133 int millisInDay, int timeType) { in DateTimeRule() argument
139 this.millisInDay = millisInDay; in DateTimeRule()
163 int millisInDay, int timeType) { in DateTimeRule() argument
169 this.millisInDay = millisInDay; in DateTimeRule()
255 return millisInDay; in getRuleMillisInDay()
300 int time = millisInDay; in toString()
DCalendar.java4680 int millisInDay = internalGet(MILLISECOND) + 1000 * (internalGet(SECOND) + in isWeekend() local
4684 ? (millisInDay >= transition) in isWeekend()
4685 : (millisInDay < transition); in isWeekend()
5075 int millisInDay = (int) (localMillis - (days * ONE_DAY)); in computeFields() local
5076 fields[MILLISECONDS_IN_DAY] = millisInDay; in computeFields()
5077 fields[MILLISECOND] = millisInDay % 1000; in computeFields()
5078 millisInDay /= 1000; in computeFields()
5079 fields[SECOND] = millisInDay % 60; in computeFields()
5080 millisInDay /= 60; in computeFields()
5081 fields[MINUTE] = millisInDay % 60; in computeFields()
[all …]
/external/icu/icu4c/source/i18n/
Ddtrule.cpp24 int32_t millisInDay, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
26 : fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(0), fWeekInMonth(0), fMillisInDay(millisInDay), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
33 int32_t millisInDay, in DateTimeRule() argument
35 …onth), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(millisInDay), in DateTimeRule()
43 int32_t millisInDay, in DateTimeRule() argument
46 …month), fDayOfMonth(dayOfMonth), fDayOfWeek(dayOfWeek), fWeekInMonth(0), fMillisInDay(millisInDay), in DateTimeRule()
Dcalendar.cpp1564 int32_t millisInDay = (int32_t) (localMillis - (days * kOneDay)); in computeFields() local
1565 fFields[UCAL_MILLISECONDS_IN_DAY] = millisInDay; in computeFields()
1566 fFields[UCAL_MILLISECOND] = millisInDay % 1000; in computeFields()
1567 millisInDay /= 1000; in computeFields()
1568 fFields[UCAL_SECOND] = millisInDay % 60; in computeFields()
1569 millisInDay /= 60; in computeFields()
1570 fFields[UCAL_MINUTE] = millisInDay % 60; in computeFields()
1571 millisInDay /= 60; in computeFields()
1572 fFields[UCAL_HOUR_OF_DAY] = millisInDay; in computeFields()
1573 fFields[UCAL_AM_PM] = millisInDay / 12; // Assume AM == 0 in computeFields()
[all …]
Dgregoimp.cpp139 double millisInDay; in timeToFields() local
140 double day = ClockMath::floorDivide((double)time, (double)U_MILLIS_PER_DAY, millisInDay); in timeToFields()
141 mid = (int32_t)millisInDay; in timeToFields()
/external/icu/icu4c/source/i18n/unicode/
Ddtrule.h74 int32_t millisInDay, TimeRuleType timeType);
92 int32_t millisInDay, TimeRuleType timeType);
110 int32_t millisInDay, TimeRuleType timeType);
Dcalendar.h1753 int32_t computeZoneOffset(double millis, double millisInDay, UErrorCode &ec);
/external/icu/libicu/cts_headers/unicode/
Ddtrule.h74 int32_t millisInDay, TimeRuleType timeType);
92 int32_t millisInDay, TimeRuleType timeType);
110 int32_t millisInDay, TimeRuleType timeType);
Dcalendar.h1753 int32_t computeZoneOffset(double millis, double millisInDay, UErrorCode &ec);
/external/cldr/tools/java/org/unicode/cldr/util/
DDayPeriodInfo.java65 public boolean contains(int millisInDay) { in contains() argument
66 return start <= millisInDay && (millisInDay < end || millisInDay == end && includesEnd); in contains()
280 public DayPeriodInfo.DayPeriod getDayPeriod(int millisInDay) { in getDayPeriod() argument
281 if (millisInDay < MIDNIGHT) { in getDayPeriod()
283 } else if (millisInDay >= DAY_LIMIT) { in getDayPeriod()
287 if (spans[i].contains(millisInDay)) { in getDayPeriod()
DDayPeriodsOld.java41 public DayPeriod get(long millisInDay) { in get() argument
42 long hours = millisInDay / HOUR; in get()
DDayPeriods.java41 public DayPeriod get(long millisInDay) { in get() argument
42 long hours = millisInDay / HOUR; in get()
/external/icu/icu4c/source/test/intltest/
Dtzrulets.cpp275 int32_t era, year, month, dayOfMonth, dayOfWeek, millisInDay; in TestSimpleRuleBasedTimeZone() local
301 millisInDay = cal->get(UCAL_MILLISECONDS_IN_DAY, status); in TestSimpleRuleBasedTimeZone()
306 offset = rbtz1->getOffset(era, year, month, dayOfMonth, dayOfWeek, millisInDay, status); in TestSimpleRuleBasedTimeZone()
340 millisInDay = cal->get(UCAL_MILLISECONDS_IN_DAY, status); in TestSimpleRuleBasedTimeZone()
345 offset = rbtz1->getOffset(era, year, month, dayOfMonth, dayOfWeek, millisInDay, status); in TestSimpleRuleBasedTimeZone()
Dcalregts.cpp740 double millisInDay = hr * 3600000.0 + min * 60000.0 + sec * 1000.0 + msec; in test4083167() local
741 if (firstMillisInDay != millisInDay) in test4083167()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DCalendarRegressionTest.java431 long millisInDay = cal.get(Calendar.HOUR_OF_DAY) * 3600000L + in Test4083167() local
435 if (firstMillisInDay != millisInDay) in Test4083167()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegressionTest.java428 long millisInDay = cal.get(Calendar.HOUR_OF_DAY) * 3600000L + in Test4083167() local
432 if (firstMillisInDay != millisInDay) in Test4083167()