public class DateTimeOffset extends ValueType
.NET documentation at https://learn.microsoft.com/dotnet/api/System.DateTimeOffset
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=11.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.DateTimeOffset
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DateTimeOffset() |
DateTimeOffset(DateOnly date,
TimeOnly time,
TimeSpan offset)
Initializes a new instance by invoking the .NET constructor.
|
DateTimeOffset(DateTime dateTime)
Initializes a new instance by invoking the .NET constructor.
|
DateTimeOffset(DateTime dateTime,
TimeSpan offset)
Initializes a new instance by invoking the .NET constructor.
|
DateTimeOffset(int year,
int month,
int day,
int hour,
int minute,
int second,
int millisecond,
Calendar calendar,
TimeSpan offset)
Initializes a new instance by invoking the .NET constructor.
|
DateTimeOffset(int year,
int month,
int day,
int hour,
int minute,
int second,
int millisecond,
int microsecond,
Calendar calendar,
TimeSpan offset)
Initializes a new instance by invoking the .NET constructor.
|
DateTimeOffset(int year,
int month,
int day,
int hour,
int minute,
int second,
int millisecond,
int microsecond,
TimeSpan offset)
Initializes a new instance by invoking the .NET constructor.
|
DateTimeOffset(int year,
int month,
int day,
int hour,
int minute,
int second,
int millisecond,
TimeSpan offset)
Initializes a new instance by invoking the .NET constructor.
|
DateTimeOffset(int year,
int month,
int day,
int hour,
int minute,
int second,
TimeSpan offset)
Initializes a new instance by invoking the .NET constructor.
|
DateTimeOffset(long ticks,
TimeSpan offset)
Initializes a new instance by invoking the .NET constructor.
|
DateTimeOffset(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DateTimeOffset |
Add(TimeSpan timeSpan)
Invokes the .NET member Add.
|
DateTimeOffset |
AddDays(double days)
Invokes the .NET member AddDays.
|
DateTimeOffset |
AddHours(double hours)
Invokes the .NET member AddHours.
|
DateTimeOffset |
AddMicroseconds(double microseconds)
Invokes the .NET member AddMicroseconds.
|
DateTimeOffset |
AddMilliseconds(double milliseconds)
Invokes the .NET member AddMilliseconds.
|
DateTimeOffset |
AddMinutes(double minutes)
Invokes the .NET member AddMinutes.
|
DateTimeOffset |
AddMonths(int months)
Invokes the .NET member AddMonths.
|
DateTimeOffset |
AddSeconds(double seconds)
Invokes the .NET member AddSeconds.
|
DateTimeOffset |
AddTicks(long ticks)
Invokes the .NET member AddTicks.
|
DateTimeOffset |
AddYears(int years)
Invokes the .NET member AddYears.
|
static DateTimeOffset |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DateTimeOffset, a cast assert is made to check if types are compatible. |
static int |
Compare(DateTimeOffset first,
DateTimeOffset second)
Invokes the .NET member Compare.
|
int |
CompareTo(DateTimeOffset other)
Invokes the .NET member CompareTo.
|
void |
Deconstruct(JCORefOut<DateOnly> date,
JCORefOut<TimeOnly> time,
JCORefOut<TimeSpan> offset)
Invokes the .NET member Deconstruct.
|
boolean |
Equals(DateTimeOffset other)
Invokes the .NET member Equals.
|
static boolean |
Equals(DateTimeOffset first,
DateTimeOffset second)
Invokes the .NET member Equals.
|
boolean |
EqualsExact(DateTimeOffset other)
Invokes the .NET member EqualsExact.
|
static DateTimeOffset |
FromFileTime(long fileTime)
Invokes the .NET member FromFileTime.
|
static DateTimeOffset |
FromUnixTimeMilliseconds(long milliseconds)
Invokes the .NET member FromUnixTimeMilliseconds.
|
static DateTimeOffset |
FromUnixTimeSeconds(long seconds)
Invokes the .NET member FromUnixTimeSeconds.
|
DateTime |
getDate()
Gets the value of the .NET property Date.
|
DateTime |
getDateTime()
Gets the value of the .NET property DateTime.
|
int |
getDay()
Gets the value of the .NET property Day.
|
DayOfWeek |
getDayOfWeek()
Gets the value of the .NET property DayOfWeek.
|
int |
getDayOfYear()
Gets the value of the .NET property DayOfYear.
|
int |
getHour()
Gets the value of the .NET property Hour.
|
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. |
DateTime |
getLocalDateTime()
Gets the value of the .NET property LocalDateTime.
|
int |
getMicrosecond()
Gets the value of the .NET property Microsecond.
|
int |
getMillisecond()
Gets the value of the .NET property Millisecond.
|
int |
getMinute()
Gets the value of the .NET property Minute.
|
int |
getMonth()
Gets the value of the .NET property Month.
|
int |
getNanosecond()
Gets the value of the .NET property Nanosecond.
|
static DateTimeOffset |
getNow()
Gets the value of the .NET property Now.
|
TimeSpan |
getOffset()
Gets the value of the .NET property Offset.
|
int |
getSecond()
Gets the value of the .NET property Second.
|
long |
getTicks()
Gets the value of the .NET property Ticks.
|
TimeSpan |
getTimeOfDay()
Gets the value of the .NET property TimeOfDay.
|
int |
getTotalOffsetMinutes()
Gets the value of the .NET property TotalOffsetMinutes.
|
DateTime |
getUtcDateTime()
Gets the value of the .NET property UtcDateTime.
|
static DateTimeOffset |
getUtcNow()
Gets the value of the .NET property UtcNow.
|
long |
getUtcTicks()
Gets the value of the .NET property UtcTicks.
|
int |
getYear()
Gets the value of the .NET property Year.
|
static DateTimeOffset |
Parse(java.lang.String input)
Invokes the .NET member Parse.
|
static DateTimeOffset |
Parse(java.lang.String input,
IFormatProvider formatProvider)
Invokes the .NET member Parse.
|
static DateTimeOffset |
Parse(java.lang.String input,
IFormatProvider formatProvider,
DateTimeStyles styles)
Invokes the .NET member Parse.
|
static DateTimeOffset |
ParseExact(java.lang.String dupParam0,
JCORefOut dupParam1,
IFormatProvider dupParam2,
DateTimeStyles dupParam3)
Invokes the .NET member ParseExact.
|
static DateTimeOffset |
ParseExact(java.lang.String input,
java.lang.String[] formats,
IFormatProvider formatProvider,
DateTimeStyles styles)
Invokes the .NET member ParseExact.
|
static DateTimeOffset |
ParseExact(java.lang.String input,
java.lang.String format,
IFormatProvider formatProvider)
Invokes the .NET member ParseExact.
|
static DateTimeOffset |
ParseExact(java.lang.String input,
java.lang.String format,
IFormatProvider formatProvider,
DateTimeStyles styles)
Invokes the .NET member ParseExact.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
TimeSpan |
Subtract(DateTimeOffset value)
Invokes the .NET member Subtract.
|
DateTimeOffset |
Subtract(TimeSpan value)
Invokes the .NET member Subtract.
|
long |
ToFileTime()
Invokes the .NET member ToFileTime.
|
DateTimeOffset |
ToLocalTime()
Invokes the .NET member ToLocalTime.
|
DateTimeOffset |
ToOffset(TimeSpan offset)
Invokes the .NET member ToOffset.
|
java.lang.String |
ToString(IFormatProvider formatProvider)
Invokes the .NET member ToString.
|
java.lang.String |
ToString(java.lang.String format)
Invokes the .NET member ToString.
|
java.lang.String |
ToString(java.lang.String format,
IFormatProvider formatProvider)
Invokes the .NET member ToString.
|
DateTimeOffset |
ToUniversalTime()
Invokes the .NET member ToUniversalTime.
|
long |
ToUnixTimeMilliseconds()
Invokes the .NET member ToUnixTimeMilliseconds.
|
long |
ToUnixTimeSeconds()
Invokes the .NET member ToUnixTimeSeconds.
|
static boolean |
TryParse(java.lang.String input,
IFormatProvider formatProvider,
DateTimeStyles styles,
JCORefOut<DateTimeOffset> result)
Invokes the .NET member TryParse.
|
static boolean |
TryParse(java.lang.String s,
IFormatProvider provider,
JCORefOut<DateTimeOffset> result)
Invokes the .NET member TryParse.
|
static boolean |
TryParse(java.lang.String input,
JCORefOut<DateTimeOffset> result)
Invokes the .NET member TryParse.
|
static boolean |
TryParseExact(java.lang.String input,
java.lang.String[] formats,
IFormatProvider formatProvider,
DateTimeStyles styles,
JCORefOut<DateTimeOffset> result)
Invokes the .NET member TryParseExact.
|
static boolean |
TryParseExact(java.lang.String input,
java.lang.String format,
IFormatProvider formatProvider,
DateTimeStyles styles,
JCORefOut<DateTimeOffset> result)
Invokes the .NET member TryParseExact.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DateTimeOffset()
throws java.lang.Throwable
java.lang.Throwablepublic DateTimeOffset(DateOnly date, TimeOnly time, TimeSpan offset) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidTimeZoneException, NotSupportedException, SecurityException, InvalidOperationException, IOException, NullReferenceException, OverflowException
date - the argument of type DateOnlytime - the argument of type TimeOnlyoffset - the argument of type TimeSpanjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itNotSupportedException - if the .NET member raises itSecurityException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIOException - if the .NET member raises itNullReferenceException - if the .NET member raises itOverflowException - if the .NET member raises itpublic DateTimeOffset(DateTime dateTime) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, LockRecursionException, InvalidOperationException, ArgumentOutOfRangeException, InvalidTimeZoneException, CultureNotFoundException, SecurityException, UnauthorizedAccessException, IOException, NullReferenceException, IndexOutOfRangeException
dateTime - the argument of type DateTimejava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itLockRecursionException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - 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 itIndexOutOfRangeException - if the .NET member raises itpublic DateTimeOffset(DateTime dateTime, TimeSpan offset) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, LockRecursionException, InvalidOperationException, ArgumentOutOfRangeException, InvalidTimeZoneException, CultureNotFoundException, SecurityException, UnauthorizedAccessException, IOException, NullReferenceException, IndexOutOfRangeException
dateTime - the argument of type DateTimeoffset - the argument of type TimeSpanjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itLockRecursionException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - 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 itIndexOutOfRangeException - if the .NET member raises itpublic DateTimeOffset(int year,
int month,
int day,
int hour,
int minute,
int second,
int millisecond,
Calendar calendar,
TimeSpan offset)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentNullException
year - the argument of type intmonth - the argument of type intday - the argument of type inthour - the argument of type intminute - the argument of type intsecond - the argument of type intmillisecond - the argument of type intcalendar - the argument of type Calendaroffset - the argument of type TimeSpanjava.lang.Throwable - if the .NET constructor failsArgumentException - 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 itArgumentNullException - if the .NET member raises itpublic DateTimeOffset(int year,
int month,
int day,
int hour,
int minute,
int second,
int millisecond,
int microsecond,
Calendar calendar,
TimeSpan offset)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException
year - the argument of type intmonth - the argument of type intday - the argument of type inthour - the argument of type intminute - the argument of type intsecond - the argument of type intmillisecond - the argument of type intmicrosecond - the argument of type intcalendar - the argument of type Calendaroffset - the argument of type TimeSpanjava.lang.Throwable - if the .NET constructor failsArgumentException - 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 itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic DateTimeOffset(int year,
int month,
int day,
int hour,
int minute,
int second,
int millisecond,
int microsecond,
TimeSpan offset)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException
year - the argument of type intmonth - the argument of type intday - the argument of type inthour - the argument of type intminute - the argument of type intsecond - the argument of type intmillisecond - the argument of type intmicrosecond - the argument of type intoffset - the argument of type TimeSpanjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic DateTimeOffset(int year,
int month,
int day,
int hour,
int minute,
int second,
int millisecond,
TimeSpan offset)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
FormatException
year - the argument of type intmonth - the argument of type intday - the argument of type inthour - the argument of type intminute - the argument of type intsecond - the argument of type intmillisecond - the argument of type intoffset - the argument of type TimeSpanjava.lang.Throwable - if the .NET constructor failsArgumentException - 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 itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic DateTimeOffset(int year,
int month,
int day,
int hour,
int minute,
int second,
TimeSpan offset)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
year - the argument of type intmonth - the argument of type intday - the argument of type inthour - the argument of type intminute - the argument of type intsecond - the argument of type intoffset - the argument of type TimeSpanjava.lang.Throwable - if the .NET constructor failsArgumentException - 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 itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic DateTimeOffset(long ticks,
TimeSpan offset)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException
ticks - the argument of type longoffset - the argument of type TimeSpanjava.lang.Throwable - if the .NET constructor failsArgumentException - 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 itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itpublic DateTimeOffset(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 DateTimeOffset Add(TimeSpan timeSpan) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException
timeSpan - the argument of type TimeSpanjava.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 itpublic DateTimeOffset AddDays(double days) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException
days - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic DateTimeOffset AddHours(double hours) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException
hours - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic DateTimeOffset AddMicroseconds(double microseconds) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException
microseconds - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic DateTimeOffset AddMilliseconds(double milliseconds) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException
milliseconds - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic DateTimeOffset AddMinutes(double minutes) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException
minutes - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic DateTimeOffset AddMonths(int months) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
months - the argument of type intjava.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 itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic DateTimeOffset AddSeconds(double seconds) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException
seconds - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic DateTimeOffset AddTicks(long ticks) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException
ticks - the argument of type longjava.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 itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itpublic DateTimeOffset AddYears(int years) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
years - the argument of type intjava.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 itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static DateTimeOffset cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DateTimeOffset, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDateTimeOffset instancejava.lang.Throwable - in case of error during cast operationpublic static int Compare(DateTimeOffset first, DateTimeOffset second) throws java.lang.Throwable
first - the argument of type DateTimeOffsetsecond - the argument of type DateTimeOffsetjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int CompareTo(DateTimeOffset other) throws java.lang.Throwable
other - the argument of type DateTimeOffsetjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Deconstruct(JCORefOut<DateOnly> date, JCORefOut<TimeOnly> time, JCORefOut<TimeSpan> offset) throws java.lang.Throwable
date - the argument of type JCORefOut<DateOnly>time - the argument of type JCORefOut<TimeOnly>offset - the argument of type JCORefOut<TimeSpan>java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean Equals(DateTimeOffset other) throws java.lang.Throwable
other - the argument of type DateTimeOffsetjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static boolean Equals(DateTimeOffset first, DateTimeOffset second) throws java.lang.Throwable
first - the argument of type DateTimeOffsetsecond - the argument of type DateTimeOffsetjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean EqualsExact(DateTimeOffset other) throws java.lang.Throwable
other - the argument of type DateTimeOffsetjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static DateTimeOffset FromFileTime(long fileTime) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, InvalidTimeZoneException, SecurityException, IOException, OverflowException
fileTime - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static DateTimeOffset FromUnixTimeMilliseconds(long milliseconds) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException
milliseconds - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static DateTimeOffset FromUnixTimeSeconds(long seconds) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException
seconds - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic DateTime getDate() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DateTime getDateTime() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getDay()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DayOfWeek getDayOfWeek() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getDayOfYear()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getHour()
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 ValueTypepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ValueTypepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ValueTypenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ValueTypepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ValueTypepublic DateTime getLocalDateTime() throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidTimeZoneException, NotSupportedException, SecurityException, InvalidOperationException, IOException, NullReferenceException, OverflowException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itNotSupportedException - if the .NET member raises itSecurityException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIOException - if the .NET member raises itNullReferenceException - if the .NET member raises itOverflowException - if the .NET member raises itpublic int getMicrosecond()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getMillisecond()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getMinute()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getMonth()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getNanosecond()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static DateTimeOffset getNow() throws java.lang.Throwable, ArgumentOutOfRangeException, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, InvalidTimeZoneException, SecurityException, InvalidOperationException, IOException, NullReferenceException, OverflowException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIOException - if the .NET member raises itNullReferenceException - if the .NET member raises itOverflowException - if the .NET member raises itpublic TimeSpan getOffset() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getSecond()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic long getTicks()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic TimeSpan getTimeOfDay() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getTotalOffsetMinutes()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DateTime getUtcDateTime() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static DateTimeOffset getUtcNow() throws java.lang.Throwable, ArgumentOutOfRangeException, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic long getUtcTicks()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getYear()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static DateTimeOffset Parse(java.lang.String input) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, ArgumentNullException, CultureNotFoundException, TypeInitializationException, OverflowException
input - 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 itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itTypeInitializationException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static DateTimeOffset Parse(java.lang.String input, IFormatProvider formatProvider) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException, IndexOutOfRangeException, OverflowException
input - the argument of type java.lang.StringformatProvider - the argument of type IFormatProviderjava.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 itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static DateTimeOffset Parse(java.lang.String input, IFormatProvider formatProvider, DateTimeStyles styles) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, OverflowException
input - the argument of type java.lang.StringformatProvider - the argument of type IFormatProviderstyles - the argument of type DateTimeStylesjava.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 itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static DateTimeOffset ParseExact(java.lang.String dupParam0, JCORefOut dupParam1, IFormatProvider dupParam2, DateTimeStyles dupParam3) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, NullReferenceException, OverflowException, OutOfMemoryException, FormatException
dupParam0 - the argument of type java.lang.StringdupParam1 - the argument of type JCORefOutdupParam2 - the argument of type IFormatProviderdupParam3 - the argument of type DateTimeStylesjava.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 itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itpublic static DateTimeOffset ParseExact(java.lang.String input, java.lang.String[] formats, IFormatProvider formatProvider, DateTimeStyles styles) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, NullReferenceException, OverflowException, OutOfMemoryException, FormatException
input - the argument of type java.lang.Stringformats - the argument of type java.lang.String[]formatProvider - the argument of type IFormatProviderstyles - the argument of type DateTimeStylesjava.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 itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itpublic static DateTimeOffset ParseExact(java.lang.String input, java.lang.String format, IFormatProvider formatProvider) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, NullReferenceException, IndexOutOfRangeException, OverflowException, OutOfMemoryException, FormatException, CultureNotFoundException
input - the argument of type java.lang.Stringformat - the argument of type java.lang.StringformatProvider - the argument of type IFormatProviderjava.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 itNullReferenceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static DateTimeOffset ParseExact(java.lang.String input, java.lang.String format, IFormatProvider formatProvider, DateTimeStyles styles) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, NullReferenceException, OverflowException, OutOfMemoryException, FormatException
input - the argument of type java.lang.Stringformat - the argument of type java.lang.StringformatProvider - the argument of type IFormatProviderstyles - the argument of type DateTimeStylesjava.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 itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ValueTypeinstance - the new underlying objectpublic TimeSpan Subtract(DateTimeOffset value) throws java.lang.Throwable
value - the argument of type DateTimeOffsetjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic DateTimeOffset Subtract(TimeSpan value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException
value - the argument of type TimeSpanjava.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 itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itpublic long ToFileTime()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
InvalidTimeZoneException,
PlatformNotSupportedException,
InvalidOperationException,
NullReferenceException,
NotSupportedException,
IndexOutOfRangeException
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 itInvalidTimeZoneException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic DateTimeOffset ToLocalTime() throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidTimeZoneException, NotSupportedException, SecurityException, InvalidOperationException, IOException, NullReferenceException, OverflowException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itNotSupportedException - if the .NET member raises itSecurityException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIOException - if the .NET member raises itNullReferenceException - if the .NET member raises itOverflowException - if the .NET member raises itpublic DateTimeOffset ToOffset(TimeSpan offset) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException
offset - the argument of type TimeSpanjava.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 itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itpublic java.lang.String ToString(IFormatProvider formatProvider) throws java.lang.Throwable, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, OutOfMemoryException, InvalidTimeZoneException, InvalidOperationException, IndexOutOfRangeException, FormatException, CultureNotFoundException, ArrayTypeMismatchException, UnreachableException, OverflowException
formatProvider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itUnreachableException - if the .NET member raises itOverflowException - if the .NET member raises itpublic java.lang.String ToString(java.lang.String format)
throws java.lang.Throwable,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
OutOfMemoryException,
InvalidTimeZoneException,
InvalidOperationException,
IndexOutOfRangeException,
FormatException,
CultureNotFoundException,
ArrayTypeMismatchException,
UnreachableException,
OverflowException
format - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itUnreachableException - if the .NET member raises itOverflowException - if the .NET member raises itpublic java.lang.String ToString(java.lang.String format,
IFormatProvider formatProvider)
throws java.lang.Throwable,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
OutOfMemoryException,
InvalidTimeZoneException,
InvalidOperationException,
IndexOutOfRangeException,
FormatException,
CultureNotFoundException,
ArrayTypeMismatchException,
UnreachableException,
OverflowException
format - the argument of type java.lang.StringformatProvider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itUnreachableException - if the .NET member raises itOverflowException - if the .NET member raises itpublic DateTimeOffset ToUniversalTime() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic long ToUnixTimeMilliseconds()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic long ToUnixTimeSeconds()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static boolean TryParse(java.lang.String input,
IFormatProvider formatProvider,
DateTimeStyles styles,
JCORefOut<DateTimeOffset> result)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
CultureNotFoundException,
NullReferenceException,
OutOfMemoryException,
OverflowException
input - the argument of type java.lang.StringformatProvider - the argument of type IFormatProviderstyles - the argument of type DateTimeStylesresult - the argument of type JCORefOut<DateTimeOffset>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 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 itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static boolean TryParse(java.lang.String s,
IFormatProvider provider,
JCORefOut<DateTimeOffset> result)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
NullReferenceException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
IndexOutOfRangeException,
OverflowException
s - the argument of type java.lang.Stringprovider - the argument of type IFormatProviderresult - the argument of type JCORefOut<DateTimeOffset>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 itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static boolean TryParse(java.lang.String input,
JCORefOut<DateTimeOffset> result)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotSupportedException,
CultureNotFoundException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
RankException,
ArrayTypeMismatchException,
TypeInitializationException,
InvalidOperationException,
OverflowException
input - the argument of type java.lang.Stringresult - the argument of type JCORefOut<DateTimeOffset>java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itTypeInitializationException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static boolean TryParseExact(java.lang.String input,
java.lang.String[] formats,
IFormatProvider formatProvider,
DateTimeStyles styles,
JCORefOut<DateTimeOffset> result)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
CultureNotFoundException,
NullReferenceException,
OverflowException,
OutOfMemoryException,
FormatException
input - the argument of type java.lang.Stringformats - the argument of type java.lang.String[]formatProvider - the argument of type IFormatProviderstyles - the argument of type DateTimeStylesresult - the argument of type JCORefOut<DateTimeOffset>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 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 itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itpublic static boolean TryParseExact(java.lang.String input,
java.lang.String format,
IFormatProvider formatProvider,
DateTimeStyles styles,
JCORefOut<DateTimeOffset> result)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
CultureNotFoundException,
NullReferenceException,
OverflowException,
OutOfMemoryException,
FormatException
input - the argument of type java.lang.Stringformat - the argument of type java.lang.StringformatProvider - the argument of type IFormatProviderstyles - the argument of type DateTimeStylesresult - the argument of type JCORefOut<DateTimeOffset>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 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 itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises it