Class TimeZone
public class TimeZone : JVMBridgeBase<TimeZone>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<TimeZone>TimeZone
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<TimeZone>.SExecute<TNewClass, TReturn, TConverter>(IJavaType, string, params object[])JVMBridgeBase<TimeZone>.IsAssignableFrom(IJavaType)JVMBridgeBase<TimeZone>.IsAssignableFrom<T>()JVMBridgeBase<TimeZone>.Execute<T>(params T[])JVMBridgeBase<TimeZone>.DynBridgeClazzJVMBridgeBase<TimeZone>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
AvailableIDs
public static String[] AvailableIDs { get; }
Property Value
- String[]
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
DSTSavings
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/TimeZone.html#getDSTSavings()
public int DSTSavings { get; }
Property Value
Default
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/TimeZone.html#getDefault() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/TimeZone.html#setDefault(java.util.TimeZone)
public static TimeZone Default { get; set; }
Property Value
DisplayName
public String DisplayName { get; }
Property Value
ID
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/TimeZone.html#getID() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/TimeZone.html#setID(java.lang.String)
public String ID { get; set; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
LONG
public static int LONG { get; }
Property Value
RawOffset
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/TimeZone.html#getRawOffset() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/TimeZone.html#setRawOffset(int)
public int RawOffset { get; set; }
Property Value
SHORT
public static int SHORT { get; }
Property Value
Methods
GetAvailableIDs(int)
public static String[] GetAvailableIDs(int arg0)
Parameters
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
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)
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/TimeZone.html#getOffset(long)
public int GetOffset(long arg0)
Parameters
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
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
t
TimeZone
Returns
implicit operator Cloneable(TimeZone)
public static implicit operator Cloneable(TimeZone t)
Parameters
t
TimeZone