15#if !UCONFIG_NO_FORMATTING
286#ifndef U_HIDE_DEPRECATED_API
365#ifndef U_HIDE_INTERNAL_API
430#ifndef U_HIDE_DEPRECATED_API
#define U_CAPI
This is used to declare a function as a public ICU C API.
U_CAPI int64_t utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status)
Convert a int64_t datetime from the given time scale to the universal time scale.
U_CAPI int64_t utmscale_getTimeScaleValue(UDateTimeScale timeScale, UTimeScaleValue value, UErrorCode *status)
Get a value associated with a particular time scale.
U_CAPI int64_t utmscale_toInt64(int64_t universalTime, UDateTimeScale timeScale, UErrorCode *status)
Convert a datetime from the universal time scale to a int64_t in the given time scale.
UTimeScaleValue
UTimeScaleValue values are used to specify the time scale values to utmscale_getTimeScaleValue.
@ UTSV_EPOCH_OFFSET_MINUS_1_VALUE
The constant used to select the epoch plus one value for a time scale.
@ UTSV_TO_MIN_VALUE
The constant used to select the minimum to value for a time scale.
@ UTSV_UNITS_VALUE
The constant used to select the units vale for a time scale.
@ UTSV_TO_MAX_VALUE
The constant used to select the maximum to value for a time scale.
@ UTSV_MAX_ROUND_VALUE
The constant used to select the maximum safe rounding value for a time scale.
@ UTSV_FROM_MIN_VALUE
The constant used to select the minimum from value for a time scale.
@ UTSV_MIN_ROUND_VALUE
The constant used to select the minimum safe rounding value for a time scale.
@ UTSV_UNITS_ROUND_VALUE
The constant used to select the units round value for a time scale.
@ UTSV_EPOCH_OFFSET_PLUS_1_VALUE
The constant used to select the epoch plus one value for a time scale.
@ UTSV_EPOCH_OFFSET_VALUE
The constant used to select the epoch offset value for a time scale.
@ UTSV_MAX_SCALE_VALUE
The number of time scale values, in other words limit of this enum.
@ UTSV_FROM_MAX_VALUE
The constant used to select the maximum from value for a time scale.
UDateTimeScale
UDateTimeScale values are used to specify the time scale used for conversion into or out if the unive...
@ UDTS_WINDOWS_FILE_TIME
Used in Windows for file times.
@ UDTS_MAC_OLD_TIME
Used in older Macintosh systems.
@ UDTS_ICU4C_TIME
Used in IUC4C.
@ UDTS_MAX_SCALE
The first unused time scale value.
@ UDTS_JAVA_TIME
Used in the JDK.
@ UDTS_DB2_TIME
Used in DB2.
@ UDTS_EXCEL_TIME
Used in Excel.
@ UDTS_MAC_TIME
Used in newer Macintosh systems.
@ UDTS_UNIX_TIME
Used on Unix systems.
@ UDTS_UNIX_MICROSECONDS_TIME
Data is a long.
@ UDTS_DOTNET_DATE_TIME
Used in the .NET framework's System.DateTime structure.
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.