Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/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 …]
/external/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 …]
/external/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()
/external/icu/libandroidicu/include/unicode/
Dutmscale.h469 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status);
/external/icu/libicu/cts_headers/unicode/
Dutmscale.h469 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status);
/external/icu/icu4c/source/i18n/unicode/
Dutmscale.h469 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status);
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...