public class DateTimeOffset extends ValueType implements IComparable, ISerializable, IDeserializationCallback
.NET documentation at https://docs.microsoft.com/en-us/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: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: mscorlib
|
static java.lang.String |
className
Qualified class name: System.DateTimeOffset
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DateTimeOffset() |
DateTimeOffset(DateTime dateTime) |
DateTimeOffset(DateTime dateTime,
TimeSpan offset) |
DateTimeOffset(int year,
int month,
int day,
int hour,
int minute,
int second,
int millisecond,
Calendar calendar,
TimeSpan offset) |
DateTimeOffset(int year,
int month,
int day,
int hour,
int minute,
int second,
int millisecond,
TimeSpan offset) |
DateTimeOffset(int year,
int month,
int day,
int hour,
int minute,
int second,
TimeSpan offset) |
DateTimeOffset(long ticks,
TimeSpan offset) |
DateTimeOffset(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DateTimeOffset |
Add(TimeSpan timeSpan) |
DateTimeOffset |
AddDays(double days) |
DateTimeOffset |
AddHours(double hours) |
DateTimeOffset |
AddMilliseconds(double milliseconds) |
DateTimeOffset |
AddMinutes(double minutes) |
DateTimeOffset |
AddMonths(int months) |
DateTimeOffset |
AddSeconds(double seconds) |
DateTimeOffset |
AddTicks(long ticks) |
DateTimeOffset |
AddYears(int years) |
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) |
int |
CompareTo(DateTimeOffset other) |
boolean |
Equals(DateTimeOffset other) |
static boolean |
Equals(DateTimeOffset first,
DateTimeOffset second) |
boolean |
EqualsExact(DateTimeOffset other) |
static DateTimeOffset |
FromFileTime(long fileTime) |
static DateTimeOffset |
FromUnixTimeMilliseconds(long milliseconds) |
static DateTimeOffset |
FromUnixTimeSeconds(long seconds) |
DateTime |
getDate() |
DateTime |
getDateTime() |
int |
getDay() |
DayOfWeek |
getDayOfWeek() |
int |
getDayOfYear() |
int |
getHour() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
DateTime |
getLocalDateTime() |
int |
getMillisecond() |
int |
getMinute() |
int |
getMonth() |
static DateTimeOffset |
getNow() |
TimeSpan |
getOffset() |
int |
getSecond() |
long |
getTicks() |
TimeSpan |
getTimeOfDay() |
DateTime |
getUtcDateTime() |
static DateTimeOffset |
getUtcNow() |
long |
getUtcTicks() |
int |
getYear() |
static DateTimeOffset |
Parse(java.lang.String input) |
static DateTimeOffset |
Parse(java.lang.String input,
IFormatProvider formatProvider) |
static DateTimeOffset |
Parse(java.lang.String input,
IFormatProvider formatProvider,
DateTimeStyles styles) |
static DateTimeOffset |
ParseExact(java.lang.String dupParam0,
JCORefOut dupParam1,
IFormatProvider dupParam2,
DateTimeStyles dupParam3) |
static DateTimeOffset |
ParseExact(java.lang.String input,
java.lang.String[] formats,
IFormatProvider formatProvider,
DateTimeStyles styles) |
static DateTimeOffset |
ParseExact(java.lang.String input,
java.lang.String format,
IFormatProvider formatProvider) |
static DateTimeOffset |
ParseExact(java.lang.String input,
java.lang.String format,
IFormatProvider formatProvider,
DateTimeStyles styles) |
void |
setJCOInstance(JCObject instance) |
TimeSpan |
Subtract(DateTimeOffset value) |
DateTimeOffset |
Subtract(TimeSpan value) |
long |
ToFileTime() |
DateTimeOffset |
ToLocalTime() |
DateTimeOffset |
ToOffset(TimeSpan offset) |
java.lang.String |
ToString(IFormatProvider formatProvider) |
java.lang.String |
ToString(java.lang.String format) |
java.lang.String |
ToString(java.lang.String format,
IFormatProvider formatProvider) |
DateTimeOffset |
ToUniversalTime() |
long |
ToUnixTimeMilliseconds() |
long |
ToUnixTimeSeconds() |
static boolean |
TryParse(java.lang.String input,
IFormatProvider formatProvider,
DateTimeStyles styles,
JCORefOut<DateTimeOffset> result) |
static boolean |
TryParse(java.lang.String input,
JCORefOut<DateTimeOffset> result) |
static boolean |
TryParseExact(java.lang.String input,
java.lang.String[] formats,
IFormatProvider formatProvider,
DateTimeStyles styles,
JCORefOut<DateTimeOffset> result) |
static boolean |
TryParseExact(java.lang.String input,
java.lang.String format,
IFormatProvider formatProvider,
DateTimeStyles styles,
JCORefOut<DateTimeOffset> result) |
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToStringCompareTo, ToIComparableGetObjectData, ToISerializableOnDeserialization, ToIDeserializationCallbackpublic 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(DateTime dateTime) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, OverflowException, SecurityException, UnauthorizedAccessException, IOException, InvalidOperationException, CultureNotFoundException, NotSupportedException
public DateTimeOffset(DateTime dateTime, TimeSpan offset) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, OverflowException, SecurityException, UnauthorizedAccessException, IOException, InvalidOperationException, CultureNotFoundException, NotSupportedException
public 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,
ArgumentNullException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
CultureNotFoundException,
OutOfMemoryException,
FormatException
public DateTimeOffset(int year,
int month,
int day,
int hour,
int minute,
int second,
int millisecond,
TimeSpan offset)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
CultureNotFoundException,
OutOfMemoryException,
FormatException
public DateTimeOffset(int year,
int month,
int day,
int hour,
int minute,
int second,
TimeSpan offset)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionpublic DateTimeOffset(long ticks,
TimeSpan offset)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionpublic DateTimeOffset(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic DateTimeOffset Add(TimeSpan timeSpan) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
public DateTimeOffset AddDays(double days) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
public DateTimeOffset AddHours(double hours) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
public DateTimeOffset AddMilliseconds(double milliseconds) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
public DateTimeOffset AddMinutes(double minutes) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
public DateTimeOffset AddMonths(int months) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
public DateTimeOffset AddSeconds(double seconds) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
public DateTimeOffset AddTicks(long ticks) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
public DateTimeOffset AddYears(int years) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
public 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, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic int CompareTo(DateTimeOffset other) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic boolean Equals(DateTimeOffset other) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic static boolean Equals(DateTimeOffset first, DateTimeOffset second) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic boolean EqualsExact(DateTimeOffset other) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic static DateTimeOffset FromFileTime(long fileTime) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, OverflowException, ArgumentNullException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionOverflowExceptionArgumentNullExceptionpublic static DateTimeOffset FromUnixTimeMilliseconds(long milliseconds) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, ArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionArgumentExceptionpublic static DateTimeOffset FromUnixTimeSeconds(long seconds) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, ArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionArgumentExceptionpublic DateTime getDate() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic DateTime getDateTime() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic int getDay()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic DayOfWeek getDayOfWeek() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic int getDayOfYear()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic int getHour()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IComparablegetJCOAssemblyName in interface IDeserializationCallbackgetJCOAssemblyName in interface ISerializablegetJCOAssemblyName in class ValueTypeString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IComparablegetJCOClassName in interface IDeserializationCallbackgetJCOClassName in interface ISerializablegetJCOClassName in class ValueTypeString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IComparablegetJCOInstance in interface IDeserializationCallbackgetJCOInstance in interface ISerializablegetJCOInstance in class ValueTypeObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IComparablegetJCOObjectName in interface IDeserializationCallbackgetJCOObjectName in interface ISerializablegetJCOObjectName in class ValueTypeString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IComparablegetJCOType in interface IDeserializationCallbackgetJCOType in interface ISerializablegetJCOType in class ValueTypeJCType representing the CLR Type of the instantiated Classpublic DateTime getLocalDateTime() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, NotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidTimeZoneExceptionNotSupportedExceptionpublic int getMillisecond()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic int getMinute()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic int getMonth()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic static DateTimeOffset getNow() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidTimeZoneException, OverflowException, NotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidTimeZoneExceptionOverflowExceptionNotSupportedExceptionpublic TimeSpan getOffset() throws java.lang.Throwable, ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic int getSecond()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic long getTicks()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic TimeSpan getTimeOfDay() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic DateTime getUtcDateTime() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic static DateTimeOffset getUtcNow() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
public long getUtcTicks()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic int getYear()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic static DateTimeOffset Parse(java.lang.String input) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, TypeInitializationException, FormatException, NullReferenceException, OverflowException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionTypeInitializationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionpublic static DateTimeOffset Parse(java.lang.String input, IFormatProvider formatProvider) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, TypeInitializationException, InvalidOperationException, FormatException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotSupportedException, NullReferenceException, IndexOutOfRangeException, OverflowException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionTypeInitializationExceptionInvalidOperationExceptionFormatExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionNotSupportedExceptionNullReferenceExceptionIndexOutOfRangeExceptionOverflowExceptionpublic static DateTimeOffset Parse(java.lang.String input, IFormatProvider formatProvider, DateTimeStyles styles) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, TypeInitializationException, InvalidOperationException, IndexOutOfRangeException, ObjectDisposedException, NotSupportedException, NullReferenceException, OverflowException
public static DateTimeOffset ParseExact(java.lang.String dupParam0, JCORefOut dupParam1, IFormatProvider dupParam2, DateTimeStyles dupParam3) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, TypeInitializationException, InvalidOperationException, IndexOutOfRangeException, FormatException, OverflowException
public static DateTimeOffset ParseExact(java.lang.String input, java.lang.String[] formats, IFormatProvider formatProvider, DateTimeStyles styles) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, TypeInitializationException, InvalidOperationException, IndexOutOfRangeException, FormatException, OverflowException
public static DateTimeOffset ParseExact(java.lang.String input, java.lang.String format, IFormatProvider formatProvider) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, TypeInitializationException, InvalidOperationException, FormatException, MissingMethodException, TargetInvocationException, CultureNotFoundException, IndexOutOfRangeException, OverflowException
public static DateTimeOffset ParseExact(java.lang.String input, java.lang.String format, IFormatProvider formatProvider, DateTimeStyles styles) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, TypeInitializationException, InvalidOperationException, IndexOutOfRangeException, FormatException, NullReferenceException, OverflowException
public void setJCOInstance(JCObject instance)
setJCOInstance in class ValueTypepublic TimeSpan Subtract(DateTimeOffset value) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic DateTimeOffset Subtract(TimeSpan value) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
public long ToFileTime()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
InvalidTimeZoneException,
NotSupportedException,
OverflowException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidTimeZoneExceptionNotSupportedExceptionOverflowExceptionpublic DateTimeOffset ToLocalTime() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, NotSupportedException, OverflowException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidTimeZoneExceptionNotSupportedExceptionOverflowExceptionpublic DateTimeOffset ToOffset(TimeSpan offset) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic java.lang.String ToString(IFormatProvider formatProvider) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, CultureNotFoundException, TypeInitializationException, InvalidOperationException, IndexOutOfRangeException, OverflowException, FormatException, NullReferenceException
public java.lang.String ToString(java.lang.String format)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
TypeLoadException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
CultureNotFoundException,
TypeInitializationException,
FormatException,
OverflowException,
OutOfMemoryException,
IndexOutOfRangeException,
NullReferenceException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionTypeInitializationExceptionFormatExceptionOverflowExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionNullReferenceExceptionpublic java.lang.String ToString(java.lang.String format,
IFormatProvider formatProvider)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
CultureNotFoundException,
TypeInitializationException,
InvalidOperationException,
IndexOutOfRangeException,
OverflowException,
FormatException,
NullReferenceException
public DateTimeOffset ToUniversalTime() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
public long ToUnixTimeMilliseconds()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic long ToUnixTimeSeconds()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic static boolean TryParse(java.lang.String input,
IFormatProvider formatProvider,
DateTimeStyles styles,
JCORefOut<DateTimeOffset> result)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
CultureNotFoundException,
TypeInitializationException,
InvalidOperationException,
IndexOutOfRangeException,
ObjectDisposedException,
NotSupportedException,
NullReferenceException,
OverflowException
public static boolean TryParse(java.lang.String input,
JCORefOut<DateTimeOffset> result)
throws java.lang.Throwable,
ArgumentNullException,
TypeLoadException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
CultureNotFoundException,
ArgumentOutOfRangeException,
TypeInitializationException,
FormatException,
NullReferenceException,
OverflowException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionTypeInitializationExceptionFormatExceptionNullReferenceExceptionOverflowExceptionpublic static boolean TryParseExact(java.lang.String input,
java.lang.String[] formats,
IFormatProvider formatProvider,
DateTimeStyles styles,
JCORefOut<DateTimeOffset> result)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
CultureNotFoundException,
TypeInitializationException,
InvalidOperationException,
IndexOutOfRangeException,
FormatException,
OverflowException
public static boolean TryParseExact(java.lang.String input,
java.lang.String format,
IFormatProvider formatProvider,
DateTimeStyles styles,
JCORefOut<DateTimeOffset> result)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
CultureNotFoundException,
TypeInitializationException,
InvalidOperationException,
IndexOutOfRangeException,
FormatException,
NullReferenceException,
OverflowException