Package system
Class TimeZoneInfo
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.TimeZoneInfo
-
- All Implemented Interfaces:
IJCOBridgeReflected
,IDeserializationCallback
,ISerializable
public class TimeZoneInfo extends NetObject implements ISerializable, IDeserializationCallback
The base .NET class managing System.TimeZoneInfo, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.TimeZoneInfo
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.String
assemblyShortName
Assembly name: System.Private.CoreLibstatic java.lang.String
className
Qualified class name: System.TimeZoneInfostatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description TimeZoneInfo()
TimeZoneInfo(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimeZoneInfo
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoTimeZoneInfo
, a cast assert is made to check if types are compatible.static void
ClearCachedData()
static DateTimeOffset
ConvertTime(DateTimeOffset dateTimeOffset, TimeZoneInfo destinationTimeZone)
static DateTime
ConvertTime(DateTime dateTime, TimeZoneInfo destinationTimeZone)
static DateTime
ConvertTime(DateTime dateTime, TimeZoneInfo sourceTimeZone, TimeZoneInfo destinationTimeZone)
static DateTimeOffset
ConvertTimeBySystemTimeZoneId(DateTimeOffset dateTimeOffset, java.lang.String destinationTimeZoneId)
static DateTime
ConvertTimeBySystemTimeZoneId(DateTime dateTime, java.lang.String destinationTimeZoneId)
static DateTime
ConvertTimeBySystemTimeZoneId(DateTime dateTime, java.lang.String sourceTimeZoneId, java.lang.String destinationTimeZoneId)
static DateTime
ConvertTimeFromUtc(DateTime dateTime, TimeZoneInfo destinationTimeZone)
static DateTime
ConvertTimeToUtc(DateTime dateTime)
static DateTime
ConvertTimeToUtc(DateTime dateTime, TimeZoneInfo sourceTimeZone)
static TimeZoneInfo
CreateCustomTimeZone(java.lang.String id, TimeSpan baseUtcOffset, java.lang.String displayName, java.lang.String standardDisplayName)
boolean
Equals(TimeZoneInfo other)
static TimeZoneInfo
FindSystemTimeZoneById(java.lang.String id)
static TimeZoneInfo
FromSerializedString(java.lang.String source)
TimeSpan[]
GetAmbiguousTimeOffsets(DateTime dateTime)
TimeSpan[]
GetAmbiguousTimeOffsets(DateTimeOffset dateTimeOffset)
TimeSpan
getBaseUtcOffset()
java.lang.String
getDaylightName()
java.lang.String
getDisplayName()
boolean
getHasIanaId()
java.lang.String
getId()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typestatic TimeZoneInfo
getLocal()
java.lang.String
getStandardName()
boolean
getSupportsDaylightSavingTime()
static TimeZoneInfo
getUtc()
TimeSpan
GetUtcOffset(DateTime dateTime)
TimeSpan
GetUtcOffset(DateTimeOffset dateTimeOffset)
boolean
HasSameRules(TimeZoneInfo other)
boolean
IsAmbiguousTime(DateTime dateTime)
boolean
IsAmbiguousTime(DateTimeOffset dateTimeOffset)
boolean
IsDaylightSavingTime(DateTime dateTime)
boolean
IsDaylightSavingTime(DateTimeOffset dateTimeOffset)
boolean
IsInvalidTime(DateTime dateTime)
void
setJCOInstance(JCObject instance)
java.lang.String
ToSerializedString()
static boolean
TryConvertIanaIdToWindowsId(java.lang.String ianaId, JCORefOut windowsId)
static boolean
TryConvertWindowsIdToIanaId(java.lang.String windowsId, java.lang.String region, JCORefOut ianaId)
static boolean
TryConvertWindowsIdToIanaId(java.lang.String windowsId, JCORefOut ianaId)
static boolean
TryFindSystemTimeZoneById(java.lang.String id, JCORefOut<TimeZoneInfo> timeZoneInfo)
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.runtime.serialization.IDeserializationCallback
OnDeserialization
-
Methods inherited from interface system.runtime.serialization.ISerializable
GetObjectData
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Private.CoreLib- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.TimeZoneInfo- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIDeserializationCallback
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceISerializable
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIDeserializationCallback
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceISerializable
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIDeserializationCallback
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceISerializable
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIDeserializationCallback
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceISerializable
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIDeserializationCallback
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceISerializable
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static TimeZoneInfo cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoTimeZoneInfo
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
TimeZoneInfo
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Equals
public boolean Equals(TimeZoneInfo other) throws java.lang.Throwable, NotSupportedException, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, ExternalException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
OutOfMemoryException
ExternalException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
-
HasSameRules
public boolean HasSameRules(TimeZoneInfo other) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
IsAmbiguousTime
public boolean IsAmbiguousTime(DateTime dateTime) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, OverflowException, PlatformNotSupportedException, IndexOutOfRangeException, InvalidOperationException, InvalidTimeZoneException, CultureNotFoundException, SecurityException, UnauthorizedAccessException, IOException, NullReferenceException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
OverflowException
PlatformNotSupportedException
IndexOutOfRangeException
InvalidOperationException
InvalidTimeZoneException
CultureNotFoundException
SecurityException
UnauthorizedAccessException
IOException
NullReferenceException
-
IsAmbiguousTime
public boolean IsAmbiguousTime(DateTimeOffset dateTimeOffset) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, OverflowException, InvalidTimeZoneException, UnauthorizedAccessException, IOException, PlatformNotSupportedException, NullReferenceException
-
IsDaylightSavingTime
public boolean IsDaylightSavingTime(DateTime dateTime) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidTimeZoneException, CultureNotFoundException, ArgumentNullException, SecurityException, UnauthorizedAccessException, IOException, NullReferenceException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
ArgumentOutOfRangeException
InvalidTimeZoneException
CultureNotFoundException
ArgumentNullException
SecurityException
UnauthorizedAccessException
IOException
NullReferenceException
IndexOutOfRangeException
-
IsDaylightSavingTime
public boolean IsDaylightSavingTime(DateTimeOffset dateTimeOffset) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, OverflowException, IndexOutOfRangeException
-
IsInvalidTime
public boolean IsInvalidTime(DateTime dateTime) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, PlatformNotSupportedException, IndexOutOfRangeException
-
TryConvertIanaIdToWindowsId
public static boolean TryConvertIanaIdToWindowsId(java.lang.String ianaId, JCORefOut windowsId) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
-
TryConvertWindowsIdToIanaId
public static boolean TryConvertWindowsIdToIanaId(java.lang.String windowsId, JCORefOut ianaId) throws java.lang.Throwable, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, ArgumentOutOfRangeException, InvalidOperationException
-
TryConvertWindowsIdToIanaId
public static boolean TryConvertWindowsIdToIanaId(java.lang.String windowsId, java.lang.String region, JCORefOut ianaId) throws java.lang.Throwable, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, ArgumentOutOfRangeException, InvalidOperationException
-
TryFindSystemTimeZoneById
public static boolean TryFindSystemTimeZoneById(java.lang.String id, JCORefOut<TimeZoneInfo> timeZoneInfo) throws java.lang.Throwable, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, ArgumentOutOfRangeException, InvalidOperationException, InvalidTimeZoneException, SecurityException, IOException
- Throws:
java.lang.Throwable
ArgumentException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
NotSupportedException
IndexOutOfRangeException
OutOfMemoryException
ExternalException
ArgumentOutOfRangeException
InvalidOperationException
InvalidTimeZoneException
SecurityException
IOException
-
ConvertTime
public static DateTime ConvertTime(DateTime dateTime, TimeZoneInfo sourceTimeZone, TimeZoneInfo destinationTimeZone) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, OverflowException, PlatformNotSupportedException, IndexOutOfRangeException
-
ConvertTime
public static DateTime ConvertTime(DateTime dateTime, TimeZoneInfo destinationTimeZone) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidTimeZoneException, CultureNotFoundException, OutOfMemoryException, SecurityException, IOException, UnauthorizedAccessException, OverflowException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
InvalidTimeZoneException
CultureNotFoundException
OutOfMemoryException
SecurityException
IOException
UnauthorizedAccessException
OverflowException
IndexOutOfRangeException
-
ConvertTimeBySystemTimeZoneId
public static DateTime ConvertTimeBySystemTimeZoneId(DateTime dateTime, java.lang.String sourceTimeZoneId, java.lang.String destinationTimeZoneId) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidTimeZoneException, CultureNotFoundException, ArgumentNullException, SecurityException, UnauthorizedAccessException, IOException, NullReferenceException, TimeZoneNotFoundException, OverflowException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
ArgumentOutOfRangeException
InvalidTimeZoneException
CultureNotFoundException
ArgumentNullException
SecurityException
UnauthorizedAccessException
IOException
NullReferenceException
TimeZoneNotFoundException
OverflowException
IndexOutOfRangeException
-
ConvertTimeBySystemTimeZoneId
public static DateTime ConvertTimeBySystemTimeZoneId(DateTime dateTime, java.lang.String destinationTimeZoneId) throws java.lang.Throwable, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, InvalidTimeZoneException, SecurityException, IOException, TimeZoneNotFoundException, UnauthorizedAccessException, OverflowException
- Throws:
java.lang.Throwable
ArgumentException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
NotSupportedException
OutOfMemoryException
ExternalException
ArgumentNullException
ArgumentOutOfRangeException
InvalidOperationException
InvalidTimeZoneException
SecurityException
IOException
TimeZoneNotFoundException
UnauthorizedAccessException
OverflowException
-
ConvertTimeFromUtc
public static DateTime ConvertTimeFromUtc(DateTime dateTime, TimeZoneInfo destinationTimeZone) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, OverflowException, PlatformNotSupportedException, IndexOutOfRangeException
-
ConvertTimeToUtc
public static DateTime ConvertTimeToUtc(DateTime dateTime, TimeZoneInfo sourceTimeZone) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, OverflowException, PlatformNotSupportedException, IndexOutOfRangeException
-
ConvertTimeToUtc
public static DateTime ConvertTimeToUtc(DateTime dateTime) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidTimeZoneException, CultureNotFoundException, ArgumentNullException, OutOfMemoryException, SecurityException, IOException, UnauthorizedAccessException, OverflowException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
InvalidTimeZoneException
CultureNotFoundException
ArgumentNullException
OutOfMemoryException
SecurityException
IOException
UnauthorizedAccessException
OverflowException
IndexOutOfRangeException
-
ConvertTime
public static DateTimeOffset ConvertTime(DateTimeOffset dateTimeOffset, TimeZoneInfo destinationTimeZone) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
-
ConvertTimeBySystemTimeZoneId
public static DateTimeOffset ConvertTimeBySystemTimeZoneId(DateTimeOffset dateTimeOffset, java.lang.String destinationTimeZoneId) throws java.lang.Throwable, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, InvalidTimeZoneException, SecurityException, IOException, TimeZoneNotFoundException
- Throws:
java.lang.Throwable
ArgumentException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
NotSupportedException
OutOfMemoryException
ExternalException
ArgumentNullException
ArgumentOutOfRangeException
InvalidOperationException
InvalidTimeZoneException
SecurityException
IOException
TimeZoneNotFoundException
-
ToSerializedString
public java.lang.String ToSerializedString() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, NullReferenceException
-
GetUtcOffset
public TimeSpan GetUtcOffset(DateTime dateTime) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidTimeZoneException, CultureNotFoundException, ArgumentNullException, SecurityException, UnauthorizedAccessException, IOException, NullReferenceException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
ArgumentOutOfRangeException
InvalidTimeZoneException
CultureNotFoundException
ArgumentNullException
SecurityException
UnauthorizedAccessException
IOException
NullReferenceException
IndexOutOfRangeException
-
GetUtcOffset
public TimeSpan GetUtcOffset(DateTimeOffset dateTimeOffset) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException
-
GetAmbiguousTimeOffsets
public TimeSpan[] GetAmbiguousTimeOffsets(DateTime dateTime) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException, InvalidTimeZoneException, OutOfMemoryException, SecurityException, IOException, UnauthorizedAccessException, NullReferenceException, OverflowException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
IndexOutOfRangeException
RankException
CultureNotFoundException
ObjectDisposedException
InvalidTimeZoneException
OutOfMemoryException
SecurityException
IOException
UnauthorizedAccessException
NullReferenceException
OverflowException
-
GetAmbiguousTimeOffsets
public TimeSpan[] GetAmbiguousTimeOffsets(DateTimeOffset dateTimeOffset) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
-
CreateCustomTimeZone
public static TimeZoneInfo CreateCustomTimeZone(java.lang.String id, TimeSpan baseUtcOffset, java.lang.String displayName, java.lang.String standardDisplayName) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidTimeZoneException, OverflowException, CultureNotFoundException, NullReferenceException, IndexOutOfRangeException, OutOfMemoryException, ExternalException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
ArgumentOutOfRangeException
InvalidTimeZoneException
OverflowException
CultureNotFoundException
NullReferenceException
IndexOutOfRangeException
OutOfMemoryException
ExternalException
-
FindSystemTimeZoneById
public static TimeZoneInfo FindSystemTimeZoneById(java.lang.String id) throws java.lang.Throwable, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, ArgumentOutOfRangeException, InvalidOperationException, InvalidTimeZoneException, SecurityException, IOException, ArrayTypeMismatchException, FormatException, TimeZoneNotFoundException
- Throws:
java.lang.Throwable
ArgumentException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
NotSupportedException
IndexOutOfRangeException
OutOfMemoryException
ExternalException
ArgumentOutOfRangeException
InvalidOperationException
InvalidTimeZoneException
SecurityException
IOException
ArrayTypeMismatchException
FormatException
TimeZoneNotFoundException
-
FromSerializedString
public static TimeZoneInfo FromSerializedString(java.lang.String source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, SerializationException, IndexOutOfRangeException, OverflowException, InvalidTimeZoneException, OutOfMemoryException, ExternalException, CultureNotFoundException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
SerializationException
IndexOutOfRangeException
OverflowException
InvalidTimeZoneException
OutOfMemoryException
ExternalException
CultureNotFoundException
-
ClearCachedData
public static void ClearCachedData() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getHasIanaId
public boolean getHasIanaId() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSupportsDaylightSavingTime
public boolean getSupportsDaylightSavingTime() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDaylightName
public java.lang.String getDaylightName() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException
-
getDisplayName
public java.lang.String getDisplayName() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException
-
getId
public java.lang.String getId() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getStandardName
public java.lang.String getStandardName() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException
-
getBaseUtcOffset
public TimeSpan getBaseUtcOffset() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getLocal
public static TimeZoneInfo getLocal() throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidTimeZoneException, CultureNotFoundException, ArgumentNullException, OutOfMemoryException, SecurityException, IOException, UnauthorizedAccessException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
InvalidTimeZoneException
CultureNotFoundException
ArgumentNullException
OutOfMemoryException
SecurityException
IOException
UnauthorizedAccessException
-
getUtc
public static TimeZoneInfo getUtc() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-