Language

UniversalTimeScaleType Enum

Definition

public enum UniversalTimeScaleType
type UniversalTimeScaleType = 
Inheritance
UniversalTimeScaleType

Fields

Name Value Description
JavaTime 0

Used in the JDK. Data is a long. Value is milliseconds since January 1, 1970.

Android reference for android.icu.util.UniversalTimeScale.JAVA_TIME.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

UnixTime 1

Used in Unix systems. Data is an int or a long. Value is seconds since January 1, 1970.

Android reference for android.icu.util.UniversalTimeScale.UNIX_TIME.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Icu4cTime 2

Used in the ICU4C. Data is a double. Value is milliseconds since January 1, 1970.

Android reference for android.icu.util.UniversalTimeScale.ICU4C_TIME.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

WindowsFileTime 3

Used in Windows for file times. Data is a long. Value is ticks (1 tick == 100 nanoseconds) since January 1, 1601.

Android reference for android.icu.util.UniversalTimeScale.WINDOWS_FILE_TIME.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

DotnetDateTime 4

Used in the.NET framework's System.DateTime structure. Data is a long. Value is ticks (1 tick == 100 nanoseconds) since January 1, 0001.

Android reference for android.icu.util.UniversalTimeScale.DOTNET_DATE_TIME.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

MacOldTime 5

Used in older Macintosh systems. Data is an int. Value is seconds since January 1, 1904.

Android reference for android.icu.util.UniversalTimeScale.MAC_OLD_TIME.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

MacTime 6

Used in the JDK. Data is a double. Value is seconds since January 1, 2001.

Android reference for android.icu.util.UniversalTimeScale.MAC_TIME.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ExcelTime 7

Used in Excel. Data is a ?unknown?. Value is days since December 31, 1899.

Android reference for android.icu.util.UniversalTimeScale.EXCEL_TIME.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Db2Time 8

Used in DB2. Data is a ?unknown?. Value is days since December 31, 1899.

Android reference for android.icu.util.UniversalTimeScale.DB2_TIME.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

UnixMicrosecondsTime 9

Data is a long. Value is microseconds since January 1, 1970. Similar to Unix time (linear value from 1970) and struct timeval (microseconds resolution).

Android reference for android.icu.util.UniversalTimeScale.UNIX_MICROSECONDS_TIME.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

MaxScale 10

This constant was deprecated in API level 28. ICU 59

This is the first unused time scale value.

Android reference for android.icu.util.UniversalTimeScale.MAX_SCALE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to