public class TimeZoneInfo extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.TimeZoneInfo
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.TimeZoneInfo
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
TimeZoneInfo() |
TimeZoneInfo(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static TimeZoneInfo |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TimeZoneInfo, a cast assert is made to check if types are compatible. |
static void |
ClearCachedData()
Invokes the .NET member ClearCachedData.
|
static DateTimeOffset |
ConvertTime(DateTimeOffset dateTimeOffset,
TimeZoneInfo destinationTimeZone)
Invokes the .NET member ConvertTime.
|
static DateTime |
ConvertTime(DateTime dateTime,
TimeZoneInfo destinationTimeZone)
Invokes the .NET member ConvertTime.
|
static DateTime |
ConvertTime(DateTime dateTime,
TimeZoneInfo sourceTimeZone,
TimeZoneInfo destinationTimeZone)
Invokes the .NET member ConvertTime.
|
static DateTimeOffset |
ConvertTimeBySystemTimeZoneId(DateTimeOffset dateTimeOffset,
java.lang.String destinationTimeZoneId)
Invokes the .NET member ConvertTimeBySystemTimeZoneId.
|
static DateTime |
ConvertTimeBySystemTimeZoneId(DateTime dateTime,
java.lang.String destinationTimeZoneId)
Invokes the .NET member ConvertTimeBySystemTimeZoneId.
|
static DateTime |
ConvertTimeBySystemTimeZoneId(DateTime dateTime,
java.lang.String sourceTimeZoneId,
java.lang.String destinationTimeZoneId)
Invokes the .NET member ConvertTimeBySystemTimeZoneId.
|
static DateTime |
ConvertTimeFromUtc(DateTime dateTime,
TimeZoneInfo destinationTimeZone)
Invokes the .NET member ConvertTimeFromUtc.
|
static DateTime |
ConvertTimeToUtc(DateTime dateTime)
Invokes the .NET member ConvertTimeToUtc.
|
static DateTime |
ConvertTimeToUtc(DateTime dateTime,
TimeZoneInfo sourceTimeZone)
Invokes the .NET member ConvertTimeToUtc.
|
static TimeZoneInfo |
CreateCustomTimeZone(java.lang.String id,
TimeSpan baseUtcOffset,
java.lang.String displayName,
java.lang.String standardDisplayName)
Invokes the .NET member CreateCustomTimeZone.
|
boolean |
Equals(TimeZoneInfo other)
Invokes the .NET member Equals.
|
static TimeZoneInfo |
FindSystemTimeZoneById(java.lang.String id)
Invokes the .NET member FindSystemTimeZoneById.
|
static TimeZoneInfo |
FromSerializedString(java.lang.String source)
Invokes the .NET member FromSerializedString.
|
TimeSpan[] |
GetAmbiguousTimeOffsets(DateTime dateTime)
Invokes the .NET member GetAmbiguousTimeOffsets.
|
TimeSpan[] |
GetAmbiguousTimeOffsets(DateTimeOffset dateTimeOffset)
Invokes the .NET member GetAmbiguousTimeOffsets.
|
TimeSpan |
getBaseUtcOffset()
Gets the value of the .NET property BaseUtcOffset.
|
java.lang.String |
getDaylightName()
Gets the value of the .NET property DaylightName.
|
java.lang.String |
getDisplayName()
Gets the value of the .NET property DisplayName.
|
boolean |
getHasIanaId()
Gets the value of the .NET property HasIanaId.
|
java.lang.String |
getId()
Gets the value of the .NET property Id.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
static TimeZoneInfo |
getLocal()
Gets the value of the .NET property Local.
|
java.lang.String |
getStandardName()
Gets the value of the .NET property StandardName.
|
boolean |
getSupportsDaylightSavingTime()
Gets the value of the .NET property SupportsDaylightSavingTime.
|
static ReadOnlyCollection_1 |
GetSystemTimeZones()
Invokes the .NET member GetSystemTimeZones.
|
static ReadOnlyCollection_1 |
GetSystemTimeZones(boolean skipSorting)
Invokes the .NET member GetSystemTimeZones.
|
static TimeZoneInfo |
getUtc()
Gets the value of the .NET property Utc.
|
TimeSpan |
GetUtcOffset(DateTime dateTime)
Invokes the .NET member GetUtcOffset.
|
TimeSpan |
GetUtcOffset(DateTimeOffset dateTimeOffset)
Invokes the .NET member GetUtcOffset.
|
boolean |
HasSameRules(TimeZoneInfo other)
Invokes the .NET member HasSameRules.
|
boolean |
IsAmbiguousTime(DateTime dateTime)
Invokes the .NET member IsAmbiguousTime.
|
boolean |
IsAmbiguousTime(DateTimeOffset dateTimeOffset)
Invokes the .NET member IsAmbiguousTime.
|
boolean |
IsDaylightSavingTime(DateTime dateTime)
Invokes the .NET member IsDaylightSavingTime.
|
boolean |
IsDaylightSavingTime(DateTimeOffset dateTimeOffset)
Invokes the .NET member IsDaylightSavingTime.
|
boolean |
IsInvalidTime(DateTime dateTime)
Invokes the .NET member IsInvalidTime.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
java.lang.String |
ToSerializedString()
Invokes the .NET member ToSerializedString.
|
static boolean |
TryConvertIanaIdToWindowsId(java.lang.String ianaId,
JCORefOut windowsId)
Invokes the .NET member TryConvertIanaIdToWindowsId.
|
static boolean |
TryConvertWindowsIdToIanaId(java.lang.String windowsId,
JCORefOut ianaId)
Invokes the .NET member TryConvertWindowsIdToIanaId.
|
static boolean |
TryConvertWindowsIdToIanaId(java.lang.String windowsId,
java.lang.String region,
JCORefOut ianaId)
Invokes the .NET member TryConvertWindowsIdToIanaId.
|
static boolean |
TryFindSystemTimeZoneById(java.lang.String id,
JCORefOut<TimeZoneInfo> timeZoneInfo)
Invokes the .NET member TryFindSystemTimeZoneById.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TimeZoneInfo()
throws java.lang.Throwable
java.lang.Throwablepublic TimeZoneInfo(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static TimeZoneInfo cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TimeZoneInfo, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTimeZoneInfo instancejava.lang.Throwable - in case of error during cast operationpublic static void ClearCachedData()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static DateTimeOffset ConvertTime(DateTimeOffset dateTimeOffset, TimeZoneInfo destinationTimeZone) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
dateTimeOffset - the argument of type DateTimeOffsetdestinationTimeZone - the argument of type TimeZoneInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic 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
dateTime - the argument of type DateTimedestinationTimeZone - the argument of type TimeZoneInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itOverflowException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static DateTime ConvertTime(DateTime dateTime, TimeZoneInfo sourceTimeZone, TimeZoneInfo destinationTimeZone) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, OverflowException, PlatformNotSupportedException, IndexOutOfRangeException
dateTime - the argument of type DateTimesourceTimeZone - the argument of type TimeZoneInfodestinationTimeZone - the argument of type TimeZoneInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itOverflowException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic 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
dateTimeOffset - the argument of type DateTimeOffsetdestinationTimeZoneId - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itTimeZoneNotFoundException - if the .NET member raises itpublic 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
dateTime - the argument of type DateTimedestinationTimeZoneId - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itTimeZoneNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itOverflowException - if the .NET member raises itpublic 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
dateTime - the argument of type DateTimesourceTimeZoneId - the argument of type java.lang.StringdestinationTimeZoneId - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentNullException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itNullReferenceException - if the .NET member raises itTimeZoneNotFoundException - if the .NET member raises itOverflowException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static DateTime ConvertTimeFromUtc(DateTime dateTime, TimeZoneInfo destinationTimeZone) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, OverflowException, PlatformNotSupportedException, IndexOutOfRangeException
dateTime - the argument of type DateTimedestinationTimeZone - the argument of type TimeZoneInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itOverflowException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static DateTime ConvertTimeToUtc(DateTime dateTime) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidTimeZoneException, CultureNotFoundException, ArgumentNullException, OutOfMemoryException, SecurityException, IOException, UnauthorizedAccessException, OverflowException, IndexOutOfRangeException
dateTime - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itOverflowException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static DateTime ConvertTimeToUtc(DateTime dateTime, TimeZoneInfo sourceTimeZone) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, OverflowException, PlatformNotSupportedException, IndexOutOfRangeException
dateTime - the argument of type DateTimesourceTimeZone - the argument of type TimeZoneInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itOverflowException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic 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
id - the argument of type java.lang.StringbaseUtcOffset - the argument of type TimeSpandisplayName - the argument of type java.lang.StringstandardDisplayName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itOverflowException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itpublic boolean Equals(TimeZoneInfo other) throws java.lang.Throwable, NotSupportedException, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, ExternalException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
other - the argument of type TimeZoneInfojava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic 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
id - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFormatException - if the .NET member raises itTimeZoneNotFoundException - if the .NET member raises itpublic 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
source - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itSerializationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic 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
dateTime - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itNullReferenceException - if the .NET member raises itOverflowException - if the .NET member raises itpublic TimeSpan[] GetAmbiguousTimeOffsets(DateTimeOffset dateTimeOffset) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
dateTimeOffset - the argument of type DateTimeOffsetjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic TimeSpan getBaseUtcOffset() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getDaylightName()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
NullReferenceException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic java.lang.String getDisplayName()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
NullReferenceException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic boolean getHasIanaId()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getId()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic static TimeZoneInfo getLocal() throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidTimeZoneException, CultureNotFoundException, ArgumentNullException, OutOfMemoryException, SecurityException, IOException, UnauthorizedAccessException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itpublic java.lang.String getStandardName()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
NullReferenceException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic boolean getSupportsDaylightSavingTime()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static ReadOnlyCollection_1 GetSystemTimeZones() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, MissingMethodException, TargetInvocationException, SecurityException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, FormatException, InvalidTimeZoneException, CultureNotFoundException, OutOfMemoryException, NullReferenceException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic static ReadOnlyCollection_1 GetSystemTimeZones(boolean skipSorting) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, SecurityException, UnauthorizedAccessException, IOException, FormatException, InvalidTimeZoneException, OutOfMemoryException, NullReferenceException
skipSorting - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itFormatException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic static TimeZoneInfo getUtc() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic TimeSpan GetUtcOffset(DateTime dateTime) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidTimeZoneException, CultureNotFoundException, ArgumentNullException, SecurityException, UnauthorizedAccessException, IOException, NullReferenceException, IndexOutOfRangeException
dateTime - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentNullException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itNullReferenceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic TimeSpan GetUtcOffset(DateTimeOffset dateTimeOffset) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException
dateTimeOffset - the argument of type DateTimeOffsetjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic boolean HasSameRules(TimeZoneInfo other) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
other - the argument of type TimeZoneInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic boolean IsAmbiguousTime(DateTime dateTime) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, OverflowException, PlatformNotSupportedException, IndexOutOfRangeException, InvalidOperationException, InvalidTimeZoneException, CultureNotFoundException, SecurityException, UnauthorizedAccessException, IOException, NullReferenceException
dateTime - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic boolean IsAmbiguousTime(DateTimeOffset dateTimeOffset) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, OverflowException, InvalidTimeZoneException, UnauthorizedAccessException, IOException, PlatformNotSupportedException, NullReferenceException
dateTimeOffset - the argument of type DateTimeOffsetjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic boolean IsDaylightSavingTime(DateTime dateTime) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidTimeZoneException, CultureNotFoundException, ArgumentNullException, SecurityException, UnauthorizedAccessException, IOException, NullReferenceException, IndexOutOfRangeException
dateTime - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentNullException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itNullReferenceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic boolean IsDaylightSavingTime(DateTimeOffset dateTimeOffset) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, OverflowException, IndexOutOfRangeException
dateTimeOffset - the argument of type DateTimeOffsetjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic boolean IsInvalidTime(DateTime dateTime) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, PlatformNotSupportedException, IndexOutOfRangeException
dateTime - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic java.lang.String ToSerializedString()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
NullReferenceException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic static boolean TryConvertIanaIdToWindowsId(java.lang.String ianaId,
JCORefOut windowsId)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException
ianaId - the argument of type java.lang.StringwindowsId - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static boolean TryConvertWindowsIdToIanaId(java.lang.String windowsId,
JCORefOut ianaId)
throws java.lang.Throwable,
ArgumentException,
CultureNotFoundException,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
ExternalException,
ArgumentOutOfRangeException,
InvalidOperationException
windowsId - the argument of type java.lang.StringianaId - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic 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
windowsId - the argument of type java.lang.Stringregion - the argument of type java.lang.StringianaId - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic 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
id - the argument of type java.lang.StringtimeZoneInfo - the argument of type JCORefOut<TimeZoneInfo>java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises it