Table of Contents

Class TimeZone

Namespace
Android.Icu.Util
Assembly
MASES.Netdroid.dll
public class TimeZone : JVMBridgeBase<TimeZone>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IFreezable<TimeZone>, ICloneable, ISerializable
Inheritance
TimeZone
Implements
Extension Methods

Constructors

TimeZone()

public TimeZone()

TimeZone(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public TimeZone(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

GENERIC_LOCATION

public static int GENERIC_LOCATION { get; set; }

Property Value

int

GMT_ZONE

public static TimeZone GMT_ZONE { get; set; }

Property Value

TimeZone

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

LONG

public static int LONG { get; set; }

Property Value

int

LONG_GENERIC

public static int LONG_GENERIC { get; set; }

Property Value

int

LONG_GMT

public static int LONG_GMT { get; set; }

Property Value

int

SHORT

public static int SHORT { get; set; }

Property Value

int

SHORT_COMMONLY_USED

public static int SHORT_COMMONLY_USED { get; set; }

Property Value

int

SHORT_GENERIC

public static int SHORT_GENERIC { get; set; }

Property Value

int

SHORT_GMT

public static int SHORT_GMT { get; set; }

Property Value

int

TIMEZONE_ICU

public static int TIMEZONE_ICU { get; set; }

Property Value

int

TIMEZONE_JDK

public static int TIMEZONE_JDK { get; set; }

Property Value

int

UNKNOWN_ZONE

public static TimeZone UNKNOWN_ZONE { get; set; }

Property Value

TimeZone

UNKNOWN_ZONE_ID

public static String UNKNOWN_ZONE_ID { get; set; }

Property Value

String

Methods

CloneAsThawed()

public object CloneAsThawed()

Returns

object

object

CountEquivalentIDs(String)

public static int CountEquivalentIDs(String arg0)

Parameters

arg0 String

String

Returns

int

int

CreatePoolableInstance()

HPA initializer for TimeZone()

public static TimeZone CreatePoolableInstance()

Returns

TimeZone

Freeze()

public object Freeze()

Returns

object

object

GetAvailableIDs()

public static String[] GetAvailableIDs()

Returns

String[]

String

GetAvailableIDs(SystemTimeZoneType, String, Integer)

public static Set<String> GetAvailableIDs(TimeZone.SystemTimeZoneType arg0, String arg1, Integer arg2)

Parameters

arg0 TimeZone.SystemTimeZoneType

TimeZone.SystemTimeZoneType

arg1 String

String

arg2 Integer

Integer

Returns

Set<String>

Set

GetAvailableIDs(String)

public static String[] GetAvailableIDs(String arg0)

Parameters

arg0 String

String

Returns

String[]

String

GetAvailableIDs(int)

public static String[] GetAvailableIDs(int arg0)

Parameters

arg0 int

int

Returns

String[]

String

GetCanonicalID(String)

public static String GetCanonicalID(String arg0)

Parameters

arg0 String

String

Returns

String

String

GetCanonicalID(String, bool[])

public static String GetCanonicalID(String arg0, bool[] arg1)

Parameters

arg0 String

String

arg1 bool[]

bool

Returns

String

String

GetDSTSavings()

public int GetDSTSavings()

Returns

int

int

GetDefault()

public static TimeZone GetDefault()

Returns

TimeZone

TimeZone

GetDisplayName()

public String GetDisplayName()

Returns

String

String

GetDisplayName(ULocale)

public String GetDisplayName(ULocale arg0)

Parameters

arg0 ULocale

ULocale

Returns

String

String

GetDisplayName(Locale)

public String GetDisplayName(Locale arg0)

Parameters

arg0 Locale

Locale

Returns

String

String

GetDisplayName(bool, int)

public String GetDisplayName(bool arg0, int arg1)

Parameters

arg0 bool

bool

arg1 int

int

Returns

String

String

GetDisplayName(bool, int, ULocale)

public String GetDisplayName(bool arg0, int arg1, ULocale arg2)

Parameters

arg0 bool

bool

arg1 int

int

arg2 ULocale

ULocale

Returns

String

String

GetDisplayName(bool, int, Locale)

public String GetDisplayName(bool arg0, int arg1, Locale arg2)

Parameters

arg0 bool

bool

arg1 int

int

arg2 Locale

Locale

Returns

String

String

GetEquivalentID(String, int)

public static String GetEquivalentID(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Returns

String

String

GetFrozenTimeZone(String)

public static TimeZone GetFrozenTimeZone(String arg0)

Parameters

arg0 String

String

Returns

TimeZone

TimeZone

GetID()

public String GetID()

Returns

String

String

GetIDForWindowsID(String, String)

public static String GetIDForWindowsID(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

String

String

GetIanaID(String)

public static String GetIanaID(String arg0)

Parameters

arg0 String

String

Returns

String

String

GetOffset(int, int, int, int, int, int)

public int GetOffset(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int

int

arg5 int

int

Returns

int

int

GetOffset(long)

public int GetOffset(long arg0)

Parameters

arg0 long

long

Returns

int

int

GetOffset(long, bool, int[])

public void GetOffset(long arg0, bool arg1, int[] arg2)

Parameters

arg0 long

long

arg1 bool

bool

arg2 int[]

int

GetRawOffset()

public int GetRawOffset()

Returns

int

int

GetRegion(String)

public static String GetRegion(String arg0)

Parameters

arg0 String

String

Returns

String

String

GetTZDataVersion()

public static String GetTZDataVersion()

Returns

String

String

GetTimeZone(String)

public static TimeZone GetTimeZone(String arg0)

Parameters

arg0 String

String

Returns

TimeZone

TimeZone

GetTimeZone(String, int)

public static TimeZone GetTimeZone(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Returns

TimeZone

TimeZone

GetWindowsID(String)

public static String GetWindowsID(String arg0)

Parameters

arg0 String

String

Returns

String

String

HasSameRules(TimeZone)

public bool HasSameRules(TimeZone arg0)

Parameters

arg0 TimeZone

TimeZone

Returns

bool

bool

InDaylightTime(Date)

public bool InDaylightTime(Date arg0)

Parameters

arg0 Date

Date

Returns

bool

bool

IsFrozen()

public bool IsFrozen()

Returns

bool

bool

ObservesDaylightTime()

public bool ObservesDaylightTime()

Returns

bool

bool

SetID(String)

public void SetID(String arg0)

Parameters

arg0 String

String

SetRawOffset(int)

public void SetRawOffset(int arg0)

Parameters

arg0 int

int

UseDaylightTime()

public bool UseDaylightTime()

Returns

bool

bool

Operators

implicit operator Freezable(TimeZone)

Converter from TimeZone to Freezable

public static implicit operator Freezable(TimeZone t)

Parameters

t TimeZone

Returns

Freezable

implicit operator Serializable(TimeZone)

Converter from TimeZone to Serializable

public static implicit operator Serializable(TimeZone t)

Parameters

t TimeZone

Returns

Serializable

implicit operator Cloneable(TimeZone)

Converter from TimeZone to Cloneable

public static implicit operator Cloneable(TimeZone t)

Parameters

t TimeZone

Returns

Cloneable