Home
last modified time | relevance | path

Searched refs:millisInDay (Results 1 – 14 of 14) 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.java4530 int millisInDay = internalGet(MILLISECOND) + 1000 * (internalGet(SECOND) + in isWeekend() local
4534 ? (millisInDay >= transition) in isWeekend()
4535 : (millisInDay < transition); in isWeekend()
4894 int millisInDay = (int) (localMillis - (days * ONE_DAY)); in computeFields() local
4895 fields[MILLISECONDS_IN_DAY] = millisInDay; in computeFields()
4896 fields[MILLISECOND] = millisInDay % 1000; in computeFields()
4897 millisInDay /= 1000; in computeFields()
4898 fields[SECOND] = millisInDay % 60; in computeFields()
4899 millisInDay /= 60; in computeFields()
4900 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.java4664 int millisInDay = internalGet(MILLISECOND) + 1000 * (internalGet(SECOND) + in isWeekend() local
4668 ? (millisInDay >= transition) in isWeekend()
4669 : (millisInDay < transition); in isWeekend()
5059 int millisInDay = (int) (localMillis - (days * ONE_DAY)); in computeFields() local
5060 fields[MILLISECONDS_IN_DAY] = millisInDay; in computeFields()
5061 fields[MILLISECOND] = millisInDay % 1000; in computeFields()
5062 millisInDay /= 1000; in computeFields()
5063 fields[SECOND] = millisInDay % 60; in computeFields()
5064 millisInDay /= 60; in computeFields()
5065 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.cpp1537 int32_t millisInDay = (int32_t) (localMillis - (days * kOneDay)); in computeFields() local
1538 fFields[UCAL_MILLISECONDS_IN_DAY] = millisInDay; in computeFields()
1539 fFields[UCAL_MILLISECOND] = millisInDay % 1000; in computeFields()
1540 millisInDay /= 1000; in computeFields()
1541 fFields[UCAL_SECOND] = millisInDay % 60; in computeFields()
1542 millisInDay /= 60; in computeFields()
1543 fFields[UCAL_MINUTE] = millisInDay % 60; in computeFields()
1544 millisInDay /= 60; in computeFields()
1545 fFields[UCAL_HOUR_OF_DAY] = millisInDay; in computeFields()
1546 fFields[UCAL_AM_PM] = millisInDay / 12; // Assume AM == 0 in computeFields()
[all …]
Dgregoimp.cpp134 double millisInDay; in timeToFields() local
135 double day = ClockMath::floorDivide((double)time, (double)U_MILLIS_PER_DAY, millisInDay); in timeToFields()
136 mid = (int32_t)millisInDay; in timeToFields()
/external/icu/icu4c/source/i18n/unicode/
Ddtrule.h72 int32_t millisInDay, TimeRuleType timeType);
90 int32_t millisInDay, TimeRuleType timeType);
108 int32_t millisInDay, TimeRuleType timeType);
Dcalendar.h1755 int32_t computeZoneOffset(double millis, int32_t millisInDay, UErrorCode &ec);
/external/icu/icu4c/source/test/intltest/
Dtzrulets.cpp274 int32_t era, year, month, dayOfMonth, dayOfWeek, millisInDay; in TestSimpleRuleBasedTimeZone() local
300 millisInDay = cal->get(UCAL_MILLISECONDS_IN_DAY, status); in TestSimpleRuleBasedTimeZone()
305 offset = rbtz1->getOffset(era, year, month, dayOfMonth, dayOfWeek, millisInDay, status); in TestSimpleRuleBasedTimeZone()
339 millisInDay = cal->get(UCAL_MILLISECONDS_IN_DAY, status); in TestSimpleRuleBasedTimeZone()
344 offset = rbtz1->getOffset(era, year, month, dayOfMonth, dayOfWeek, millisInDay, status); in TestSimpleRuleBasedTimeZone()
Dcalregts.cpp733 double millisInDay = hr * 3600000.0 + min * 60000.0 + sec * 1000.0 + msec; in test4083167() local
734 if (firstMillisInDay != millisInDay) in test4083167()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DCalendarRegressionTest.java422 long millisInDay = cal.get(Calendar.HOUR_OF_DAY) * 3600000L + in Test4083167() local
426 if (firstMillisInDay != millisInDay) in Test4083167()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegressionTest.java421 long millisInDay = cal.get(Calendar.HOUR_OF_DAY) * 3600000L + in Test4083167() local
425 if (firstMillisInDay != millisInDay) in Test4083167()
/external/icu/tools/srcgen/resources/
Dreplacements.txt370 * @param millisInDay milliseconds of the time fields; may be out