Home
last modified time | relevance | path

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

/third_party/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();
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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();
/third_party/skia/third_party/externals/icu/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()
/third_party/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()
/third_party/node/deps/icu-small/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.cpp2581 UDate localMillis = copy->getTime(status); in parse() local
2588 btz->getOffsetFromLocal(localMillis, in parse()
2591 btz->getOffsetFromLocal(localMillis, in parse()
2597 tz.getOffset(localMillis, TRUE, raw, dst, status); in parse()
2612 UDate baseTime = localMillis + raw; in parse()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcalendar.cpp1490 double localMillis = internalGetTime(); in computeFields() local
1492 getTimeZone().getOffset(localMillis, FALSE, rawOffset, dstOffset, ec); in computeFields()
1493 localMillis += (rawOffset + dstOffset); in computeFields()
1524 int32_t days = (int32_t)ClockMath::floorDivide(localMillis, (double)kOneDay); in computeFields()
1548 int32_t millisInDay = (int32_t) (localMillis - (days * kOneDay)); in computeFields()
Dsmpdtfmt.cpp2468 UDate localMillis = copy->getTime(status); in parse() local
2475 btz->getOffsetFromLocal(localMillis, in parse()
2478 btz->getOffsetFromLocal(localMillis, in parse()
2484 tz.getOffset(localMillis, TRUE, raw, dst, status); in parse()
2497 UDate time = localMillis + raw; in parse()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleDateFormat.java2706 long localMillis = copy.getTimeInMillis(); in parse() local
2713 btz.getOffsetFromLocal(localMillis, in parse()
2716 btz.getOffsetFromLocal(localMillis, in parse()
2722 tz.getOffset(localMillis, true, offsets); in parse()
2731 tz.getOffset(localMillis - (24*60*60*1000), true, offsets); in parse()
2748 long baseTime = localMillis + offsets[0]; in parse()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DSimpleDateFormat.java2683 long localMillis = copy.getTimeInMillis(); in parse() local
2690 btz.getOffsetFromLocal(localMillis, in parse()
2693 btz.getOffsetFromLocal(localMillis, in parse()
2699 tz.getOffset(localMillis, true, offsets); in parse()
2708 tz.getOffset(localMillis - (24*60*60*1000), true, offsets); in parse()
2723 long time = localMillis + offsets[0]; in parse()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DCalendar.java4785 long localMillis = time + offsets[0] + offsets[1]; in computeFields() local
4807 long days = floorDivide(localMillis, ONE_DAY); in computeFields()
4826 int millisInDay = (int) (localMillis - (days * ONE_DAY)); in computeFields()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java4984 long localMillis = time + offsets[0] + offsets[1]; in computeFields() local
5006 long days = floorDivide(localMillis, ONE_DAY); in computeFields()
5025 int millisInDay = (int) (localMillis - (days * ONE_DAY)); in computeFields()