Home
last modified time | relevance | path

Searched refs:localMillis (Results 1 – 11 of 11) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DEraRules.java215 long localMillis = System.currentTimeMillis(); in initCurrentEra() local
217 localMillis += zone.getOffset(localMillis); in initCurrentEra()
219 int[] fields = Grego.timeToFields(localMillis, null); in initCurrentEra()
DCalendarAstronomer.java1474 public String local(long localMillis) {
1475 return new Date(localMillis - TimeZone.getDefault().getRawOffset()).toString();
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DEraRules.java217 long localMillis = System.currentTimeMillis(); in initCurrentEra() local
219 localMillis += zone.getOffset(localMillis); in initCurrentEra()
221 int[] fields = Grego.timeToFields(localMillis, null); in initCurrentEra()
DCalendarAstronomer.java1476 public String local(long localMillis) {
1477 return new Date(localMillis - TimeZone.getDefault().getRawOffset()).toString();
/external/icu/icu4c/source/i18n/
Derarules.cpp296 UDate localMillis = ucal_getNow(); in initCurrentEra() local
303 zone->getOffset(localMillis, FALSE, rawOffset, dstOffset, ec); in initCurrentEra()
305 localMillis += (rawOffset + dstOffset); in initCurrentEra()
309 Grego::timeToFields(localMillis, year, month0, dom, dow, doy, mid); in initCurrentEra()
Dcalendar.cpp1506 double localMillis = internalGetTime(); in computeFields() local
1508 getTimeZone().getOffset(localMillis, FALSE, rawOffset, dstOffset, ec); in computeFields()
1509 localMillis += (rawOffset + dstOffset); in computeFields()
1540 int32_t days = (int32_t)ClockMath::floorDivide(localMillis, (double)kOneDay); in computeFields()
1564 int32_t millisInDay = (int32_t) (localMillis - (days * kOneDay)); in computeFields()
Dsmpdtfmt.cpp2556 UDate localMillis = copy->getTime(status); in parse() local
2563 btz->getOffsetFromLocal(localMillis, in parse()
2566 btz->getOffsetFromLocal(localMillis, in parse()
2572 tz.getOffset(localMillis, TRUE, raw, dst, status); in parse()
2587 UDate baseTime = localMillis + raw; in parse()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleDateFormat.java2705 long localMillis = copy.getTimeInMillis(); in parse() local
2712 btz.getOffsetFromLocal(localMillis, in parse()
2715 btz.getOffsetFromLocal(localMillis, in parse()
2721 tz.getOffset(localMillis, true, offsets); in parse()
2730 tz.getOffset(localMillis - (24*60*60*1000), true, offsets); in parse()
2747 long baseTime = localMillis + offsets[0]; in parse()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSimpleDateFormat.java2690 long localMillis = copy.getTimeInMillis(); in parse() local
2697 btz.getOffsetFromLocal(localMillis, in parse()
2700 btz.getOffsetFromLocal(localMillis, in parse()
2706 tz.getOffset(localMillis, true, offsets); in parse()
2715 tz.getOffset(localMillis - (24*60*60*1000), true, offsets); in parse()
2732 long baseTime = localMillis + offsets[0]; in parse()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCalendar.java4870 long localMillis = time + offsets[0] + offsets[1]; in computeFields() local
4892 long days = floorDivide(localMillis, ONE_DAY); in computeFields()
4911 int millisInDay = (int) (localMillis - (days * ONE_DAY)); in computeFields()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java5034 long localMillis = time + offsets[0] + offsets[1]; in computeFields() local
5056 long days = floorDivide(localMillis, ONE_DAY); in computeFields()
5075 int millisInDay = (int) (localMillis - (days * ONE_DAY)); in computeFields()