Table of Contents

Class TimeZone

Namespace
Android.Icu.Util
Assembly
MASES.Netdroid.dll
public class TimeZone : JVMBridgeBase<TimeZone>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable, IFreezable<TimeZone>, ICloneable
Inheritance
JVMBridgeBase
JVMBridgeBase<TimeZone>
TimeZone
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<TimeZone>.IsAssignableFrom(IJavaType)
JVMBridgeBase<TimeZone>.IsAssignableFrom<T>()
JVMBridgeBase<TimeZone>.Execute<T>(params T[])
JVMBridgeBase<TimeZone>.DynBridgeClazz
JVMBridgeBase<TimeZone>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

TimeZone()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("TimeZone class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public TimeZone()

TimeZone(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("TimeZone class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public TimeZone(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

GENERIC_LOCATION

public static int GENERIC_LOCATION { get; }

Property Value

int

GMT_ZONE

public static TimeZone GMT_ZONE { get; }

Property Value

TimeZone

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

LONG

public static int LONG { get; }

Property Value

int

LONG_GENERIC

public static int LONG_GENERIC { get; }

Property Value

int

LONG_GMT

public static int LONG_GMT { get; }

Property Value

int

SHORT

public static int SHORT { get; }

Property Value

int

SHORT_COMMONLY_USED

public static int SHORT_COMMONLY_USED { get; }

Property Value

int

SHORT_GENERIC

public static int SHORT_GENERIC { get; }

Property Value

int

SHORT_GMT

public static int SHORT_GMT { get; }

Property Value

int

TIMEZONE_ICU

public static int TIMEZONE_ICU { get; }

Property Value

int

TIMEZONE_JDK

public static int TIMEZONE_JDK { get; }

Property Value

int

UNKNOWN_ZONE

public static TimeZone UNKNOWN_ZONE { get; }

Property Value

TimeZone

UNKNOWN_ZONE_ID

public static String UNKNOWN_ZONE_ID { get; }

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

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

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