Home
last modified time | relevance | path

Searched refs:millisInDay (Results 1 – 16 of 16) 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.java4507 int millisInDay = internalGet(MILLISECOND) + 1000 * (internalGet(SECOND) + in isWeekend() local
4511 ? (millisInDay >= transition) in isWeekend()
4512 : (millisInDay < transition); in isWeekend()
4871 int millisInDay = (int) (localMillis - (days * ONE_DAY)); in computeFields() local
4872 fields[MILLISECONDS_IN_DAY] = millisInDay; in computeFields()
4873 fields[MILLISECOND] = millisInDay % 1000; in computeFields()
4874 millisInDay /= 1000; in computeFields()
4875 fields[SECOND] = millisInDay % 60; in computeFields()
4876 millisInDay /= 60; in computeFields()
4877 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.java4640 int millisInDay = internalGet(MILLISECOND) + 1000 * (internalGet(SECOND) + in isWeekend() local
4644 ? (millisInDay >= transition) in isWeekend()
4645 : (millisInDay < transition); in isWeekend()
5035 int millisInDay = (int) (localMillis - (days * ONE_DAY)); in computeFields() local
5036 fields[MILLISECONDS_IN_DAY] = millisInDay; in computeFields()
5037 fields[MILLISECOND] = millisInDay % 1000; in computeFields()
5038 millisInDay /= 1000; in computeFields()
5039 fields[SECOND] = millisInDay % 60; in computeFields()
5040 millisInDay /= 60; in computeFields()
5041 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.cpp1548 int32_t millisInDay = (int32_t) (localMillis - (days * kOneDay)); in computeFields() local
1549 fFields[UCAL_MILLISECONDS_IN_DAY] = millisInDay; in computeFields()
1550 fFields[UCAL_MILLISECOND] = millisInDay % 1000; in computeFields()
1551 millisInDay /= 1000; in computeFields()
1552 fFields[UCAL_SECOND] = millisInDay % 60; in computeFields()
1553 millisInDay /= 60; in computeFields()
1554 fFields[UCAL_MINUTE] = millisInDay % 60; in computeFields()
1555 millisInDay /= 60; in computeFields()
1556 fFields[UCAL_HOUR_OF_DAY] = millisInDay; in computeFields()
1557 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.h72 int32_t millisInDay, TimeRuleType timeType);
90 int32_t millisInDay, TimeRuleType timeType);
108 int32_t millisInDay, TimeRuleType timeType);
Dcalendar.h1736 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()
277 public DayPeriodInfo.DayPeriod getDayPeriod(int millisInDay) { in getDayPeriod() argument
278 if (millisInDay < MIDNIGHT) { in getDayPeriod()
280 } else if (millisInDay >= DAY_LIMIT) { in getDayPeriod()
284 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.cpp739 double millisInDay = hr * 3600000.0 + min * 60000.0 + sec * 1000.0 + msec; in test4083167() local
740 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()
/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()