Class TimeZone
public class TimeZone : JVMBridgeBase<TimeZone>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, ISerializable, ICloneable
- Inheritance
-
TimeZone
- Implements
- Derived
- 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
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
LONG
public static int LONG { get; set; }
Property Value
SHORT
public static int SHORT { get; set; }
Property Value
Methods
CreatePoolableInstance()
HPA initializer for TimeZone()
public static TimeZone CreatePoolableInstance()
Returns
GetAvailableIDs()
public static String[] GetAvailableIDs()
Returns
GetAvailableIDs(int)
public static String[] GetAvailableIDs(int arg0)
Parameters
Returns
GetDSTSavings()
public int GetDSTSavings()
Returns
GetDefault()
public static TimeZone GetDefault()
Returns
GetDisplayName()
public String GetDisplayName()
Returns
GetDisplayName(Locale)
public String GetDisplayName(Locale arg0)
Parameters
Returns
GetDisplayName(bool, int)
public String GetDisplayName(bool arg0, int arg1)
Parameters
Returns
GetDisplayName(bool, int, Locale)
public String GetDisplayName(bool arg0, int arg1, Locale arg2)
Parameters
Returns
GetID()
public String GetID()
Returns
GetOffset(int, int, int, int, int, int)
public int GetOffset(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
Parameters
Returns
GetOffset(long)
public int GetOffset(long arg0)
Parameters
Returns
GetRawOffset()
public int GetRawOffset()
Returns
GetTimeZone(String)
public static TimeZone GetTimeZone(String arg0)
Parameters
Returns
GetTimeZone(ZoneId)
public static TimeZone GetTimeZone(ZoneId arg0)
Parameters
Returns
HasSameRules(TimeZone)
public bool HasSameRules(TimeZone arg0)
Parameters
Returns
InDaylightTime(Date)
public bool InDaylightTime(Date arg0)
Parameters
Returns
ObservesDaylightTime()
public bool ObservesDaylightTime()
Returns
SetDefault(TimeZone)
public static void SetDefault(TimeZone arg0)
Parameters
SetID(String)
public void SetID(String arg0)
Parameters
SetRawOffset(int)
public void SetRawOffset(int arg0)
Parameters
ToZoneId()
public ZoneId ToZoneId()
Returns
UseDaylightTime()
public bool UseDaylightTime()
Returns
Operators
implicit operator Serializable(TimeZone)
Converter from TimeZone to Serializable
public static implicit operator Serializable(TimeZone t)
Parameters
tTimeZone
Returns
implicit operator Cloneable(TimeZone)
public static implicit operator Cloneable(TimeZone t)
Parameters
tTimeZone