Home
last modified time | relevance | path

Searched refs:otherTime (Results 1 – 8 of 8) sorted by relevance

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DUniversalTimeScale.java376 public static long from(long otherTime, int timeScale) in from() argument
378 TimeScaleData data = fromRangeCheck(otherTime, timeScale); in from()
380 return (otherTime + data.epochOffset) * data.units; in from()
395 public static BigDecimal bigDecimalFrom(double otherTime, int timeScale) in bigDecimalFrom() argument
398 BigDecimal other = new BigDecimal(String.valueOf(otherTime)); in bigDecimalFrom()
417 public static BigDecimal bigDecimalFrom(long otherTime, int timeScale) in bigDecimalFrom() argument
420 BigDecimal other = new BigDecimal(otherTime); in bigDecimalFrom()
439 public static BigDecimal bigDecimalFrom(BigDecimal otherTime, int timeScale) in bigDecimalFrom() argument
446 return otherTime.add(epochOffset).multiply(units); in bigDecimalFrom()
628 private static TimeScaleData fromRangeCheck(long otherTime, int scale) in fromRangeCheck() argument
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DUniversalTimeScale.java338 public static long from(long otherTime, int timeScale) in from() argument
340 TimeScaleData data = fromRangeCheck(otherTime, timeScale); in from()
342 return (otherTime + data.epochOffset) * data.units; in from()
355 public static BigDecimal bigDecimalFrom(double otherTime, int timeScale) in bigDecimalFrom() argument
358 BigDecimal other = new BigDecimal(String.valueOf(otherTime)); in bigDecimalFrom()
375 public static BigDecimal bigDecimalFrom(long otherTime, int timeScale) in bigDecimalFrom() argument
378 BigDecimal other = new BigDecimal(otherTime); in bigDecimalFrom()
395 public static BigDecimal bigDecimalFrom(BigDecimal otherTime, int timeScale) in bigDecimalFrom() argument
402 return otherTime.add(epochOffset).multiply(units); in bigDecimalFrom()
576 private static TimeScaleData fromRangeCheck(long otherTime, int scale) in fromRangeCheck() argument
[all …]
/third_party/icu/icu4c/source/i18n/
Dutmscale.cpp57 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status) in utmscale_fromInt64() argument
72 if (otherTime < data[UTSV_FROM_MIN_VALUE] || otherTime > data[UTSV_FROM_MAX_VALUE]) { in utmscale_fromInt64()
77 return (otherTime + data[UTSV_EPOCH_OFFSET_VALUE]) * data[UTSV_UNITS_VALUE]; in utmscale_fromInt64()
/third_party/skia/third_party/externals/icu/source/i18n/
Dutmscale.cpp57 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status) in utmscale_fromInt64() argument
72 if (otherTime < data[UTSV_FROM_MIN_VALUE] || otherTime > data[UTSV_FROM_MAX_VALUE]) { in utmscale_fromInt64()
77 return (otherTime + data[UTSV_EPOCH_OFFSET_VALUE]) * data[UTSV_UNITS_VALUE]; in utmscale_fromInt64()
/third_party/node/deps/icu-small/source/i18n/
Dutmscale.cpp57 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status) UPRV_NO_SANITIZ… in utmscale_fromInt64() argument
71 if (otherTime < data[UTSV_FROM_MIN_VALUE] || otherTime > data[UTSV_FROM_MAX_VALUE]) { in utmscale_fromInt64()
76 return (otherTime + data[UTSV_EPOCH_OFFSET_VALUE]) * data[UTSV_UNITS_VALUE]; in utmscale_fromInt64()
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dutmscale.h469 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status);
/third_party/icu/icu4c/source/i18n/unicode/
Dutmscale.h469 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status);
/third_party/node/deps/icu-small/source/i18n/unicode/
Dutmscale.h469 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status);