Package system
Class DateTimeOffset
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.ValueType
-
- system.DateTimeOffset
-
- All Implemented Interfaces:
IJCOBridgeReflected
,IComparable
,IDeserializationCallback
,ISerializable
public class DateTimeOffset extends ValueType implements IComparable, ISerializable, IDeserializationCallback
The base .NET class managing System.DateTimeOffset, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.DateTimeOffset
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.String
assemblyShortName
Assembly name: System.Private.CoreLibstatic java.lang.String
className
Qualified class name: System.DateTimeOffsetstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DateTimeOffset()
DateTimeOffset(int year, int month, int day, int hour, int minute, int second, int millisecond, int microsecond, Calendar calendar, TimeSpan offset)
DateTimeOffset(int year, int month, int day, int hour, int minute, int second, int millisecond, int microsecond, 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.DateTimeOffset(DateOnly date, TimeOnly time, TimeSpan offset)
DateTimeOffset(DateTime dateTime)
DateTimeOffset(DateTime dateTime, TimeSpan offset)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DateTimeOffset
Add(TimeSpan timeSpan)
DateTimeOffset
AddDays(double days)
DateTimeOffset
AddHours(double hours)
DateTimeOffset
AddMicroseconds(double microseconds)
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 theIJCOBridgeReflected
instance intoDateTimeOffset
, a cast assert is made to check if types are compatible.static int
Compare(DateTimeOffset first, DateTimeOffset second)
int
CompareTo(DateTimeOffset other)
void
Deconstruct(JCORefOut<DateOnly> date, JCORefOut<TimeOnly> time, JCORefOut<TimeSpan> offset)
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 namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeDateTime
getLocalDateTime()
int
getMicrosecond()
int
getMillisecond()
int
getMinute()
int
getMonth()
int
getNanosecond()
static DateTimeOffset
getNow()
TimeSpan
getOffset()
int
getSecond()
long
getTicks()
TimeSpan
getTimeOfDay()
int
getTotalOffsetMinutes()
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 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)
static DateTimeOffset
ParseExact(java.lang.String dupParam0, JCORefOut dupParam1, IFormatProvider dupParam2, DateTimeStyles dupParam3)
void
setJCOInstance(JCObject instance)
TimeSpan
Subtract(DateTimeOffset value)
DateTimeOffset
Subtract(TimeSpan value)
long
ToFileTime()
DateTimeOffset
ToLocalTime()
DateTimeOffset
ToOffset(TimeSpan offset)
java.lang.String
ToString(java.lang.String format)
java.lang.String
ToString(java.lang.String format, IFormatProvider formatProvider)
java.lang.String
ToString(IFormatProvider formatProvider)
DateTimeOffset
ToUniversalTime()
long
ToUnixTimeMilliseconds()
long
ToUnixTimeSeconds()
static boolean
TryParse(java.lang.String input, JCORefOut<DateTimeOffset> result)
static boolean
TryParse(java.lang.String s, IFormatProvider provider, JCORefOut<DateTimeOffset> result)
static boolean
TryParse(java.lang.String input, IFormatProvider formatProvider, DateTimeStyles styles, 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)
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.IComparable
CompareTo
-
Methods inherited from interface system.runtime.serialization.IDeserializationCallback
OnDeserialization
-
Methods inherited from interface system.runtime.serialization.ISerializable
GetObjectData
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Private.CoreLib- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.DateTimeOffset- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DateTimeOffset
public DateTimeOffset(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
DateTimeOffset
public DateTimeOffset() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
DateTimeOffset
public 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, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
DateTimeOffset
public DateTimeOffset(int year, int month, int day, int hour, int minute, int second, int millisecond, int microsecond, TimeSpan offset) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
DateTimeOffset
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, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
DateTimeOffset
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, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException
-
DateTimeOffset
public 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, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException
-
DateTimeOffset
public DateTimeOffset(long ticks, TimeSpan offset) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
DateTimeOffset
public DateTimeOffset(DateOnly date, TimeOnly time, TimeSpan offset) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidTimeZoneException, InvalidOperationException, UnauthorizedAccessException, IOException, OverflowException
-
DateTimeOffset
public DateTimeOffset(DateTime dateTime, TimeSpan offset) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, InvalidTimeZoneException, CultureNotFoundException, ArgumentNullException, SecurityException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, OverflowException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
InvalidTimeZoneException
CultureNotFoundException
ArgumentNullException
SecurityException
UnauthorizedAccessException
IOException
IndexOutOfRangeException
OverflowException
-
DateTimeOffset
public DateTimeOffset(DateTime dateTime) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, InvalidTimeZoneException, CultureNotFoundException, ArgumentNullException, SecurityException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, OverflowException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
InvalidTimeZoneException
CultureNotFoundException
ArgumentNullException
SecurityException
UnauthorizedAccessException
IOException
IndexOutOfRangeException
OverflowException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIComparable
- Specified by:
getJCOAssemblyName
in interfaceIDeserializationCallback
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceISerializable
- Overrides:
getJCOAssemblyName
in classValueType
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIComparable
- Specified by:
getJCOClassName
in interfaceIDeserializationCallback
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceISerializable
- Overrides:
getJCOClassName
in classValueType
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIComparable
- Specified by:
getJCOObjectName
in interfaceIDeserializationCallback
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceISerializable
- Overrides:
getJCOObjectName
in classValueType
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIComparable
- Specified by:
getJCOInstance
in interfaceIDeserializationCallback
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceISerializable
- Overrides:
getJCOInstance
in classValueType
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIComparable
- Specified by:
getJCOType
in interfaceIDeserializationCallback
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceISerializable
- Overrides:
getJCOType
in classValueType
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static DateTimeOffset cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoDateTimeOffset
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
DateTimeOffset
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Equals
public static boolean Equals(DateTimeOffset first, DateTimeOffset second) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
Equals
public boolean Equals(DateTimeOffset other) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
EqualsExact
public boolean EqualsExact(DateTimeOffset other) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
-
TryParse
public static boolean TryParse(java.lang.String input, JCORefOut<DateTimeOffset> result) throws java.lang.Throwable, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, TypeInitializationException, OverflowException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
TypeInitializationException
OverflowException
NotSupportedException
-
TryParse
public static boolean TryParse(java.lang.String s, IFormatProvider provider, JCORefOut<DateTimeOffset> result) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, OverflowException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
CultureNotFoundException
OutOfMemoryException
OverflowException
-
TryParse
public 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, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, TypeInitializationException, OverflowException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
IndexOutOfRangeException
TypeInitializationException
OverflowException
-
TryParseExact
public 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, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, TypeInitializationException, OverflowException, OutOfMemoryException, FormatException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
IndexOutOfRangeException
TypeInitializationException
OverflowException
OutOfMemoryException
FormatException
-
TryParseExact
public 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, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, TypeInitializationException, OverflowException, OutOfMemoryException, FormatException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
IndexOutOfRangeException
TypeInitializationException
OverflowException
OutOfMemoryException
FormatException
-
Compare
public static int Compare(DateTimeOffset first, DateTimeOffset second) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
CompareTo
public int CompareTo(DateTimeOffset other) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
ToFileTime
public long ToFileTime() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, OverflowException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
InvalidTimeZoneException
SecurityException
UnauthorizedAccessException
IOException
IndexOutOfRangeException
OverflowException
-
ToUnixTimeMilliseconds
public long ToUnixTimeMilliseconds() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
ToUnixTimeSeconds
public long ToUnixTimeSeconds() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
Add
public DateTimeOffset Add(TimeSpan timeSpan) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidTimeZoneException, InvalidOperationException, UnauthorizedAccessException, IOException, OverflowException
-
AddDays
public DateTimeOffset AddDays(double days) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidTimeZoneException, InvalidOperationException, UnauthorizedAccessException, IOException, OverflowException
-
AddHours
public DateTimeOffset AddHours(double hours) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidTimeZoneException, InvalidOperationException, UnauthorizedAccessException, IOException, OverflowException
-
AddMicroseconds
public DateTimeOffset AddMicroseconds(double microseconds) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidTimeZoneException, InvalidOperationException, UnauthorizedAccessException, IOException, OverflowException
-
AddMilliseconds
public DateTimeOffset AddMilliseconds(double milliseconds) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidTimeZoneException, InvalidOperationException, UnauthorizedAccessException, IOException, OverflowException
-
AddMinutes
public DateTimeOffset AddMinutes(double minutes) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidTimeZoneException, InvalidOperationException, UnauthorizedAccessException, IOException, OverflowException
-
AddMonths
public DateTimeOffset AddMonths(int months) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, InvalidTimeZoneException, UnauthorizedAccessException, IOException, OverflowException
-
AddSeconds
public DateTimeOffset AddSeconds(double seconds) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidTimeZoneException, InvalidOperationException, UnauthorizedAccessException, IOException, OverflowException
-
AddTicks
public DateTimeOffset AddTicks(long ticks) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidTimeZoneException, InvalidOperationException, UnauthorizedAccessException, IOException, OverflowException
-
AddYears
public DateTimeOffset AddYears(int years) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, InvalidTimeZoneException, UnauthorizedAccessException, IOException, OverflowException
-
FromFileTime
public static DateTimeOffset FromFileTime(long fileTime) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, InvalidTimeZoneException, UnauthorizedAccessException, IOException, OverflowException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
IndexOutOfRangeException
InvalidTimeZoneException
UnauthorizedAccessException
IOException
OverflowException
-
FromUnixTimeMilliseconds
public static DateTimeOffset FromUnixTimeMilliseconds(long milliseconds) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
-
FromUnixTimeSeconds
public static DateTimeOffset FromUnixTimeSeconds(long seconds) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
-
Parse
public static DateTimeOffset Parse(java.lang.String input, IFormatProvider formatProvider, DateTimeStyles styles) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, TypeInitializationException, OverflowException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
IndexOutOfRangeException
TypeInitializationException
OverflowException
-
Parse
public static DateTimeOffset Parse(java.lang.String input, IFormatProvider formatProvider) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, OverflowException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ArgumentNullException
ObjectDisposedException
RankException
IndexOutOfRangeException
CultureNotFoundException
OutOfMemoryException
OverflowException
-
Parse
public static DateTimeOffset Parse(java.lang.String input) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException, CultureNotFoundException, TypeInitializationException, OverflowException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ArgumentNullException
ObjectDisposedException
RankException
IndexOutOfRangeException
CultureNotFoundException
TypeInitializationException
OverflowException
-
ParseExact
public 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, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, TypeInitializationException, OverflowException, OutOfMemoryException, FormatException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
IndexOutOfRangeException
TypeInitializationException
OverflowException
OutOfMemoryException
FormatException
-
ParseExact
public static DateTimeOffset ParseExact(java.lang.String input, java.lang.String format, IFormatProvider formatProvider) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException, CultureNotFoundException, OverflowException, OutOfMemoryException, FormatException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ArgumentNullException
ObjectDisposedException
RankException
IndexOutOfRangeException
CultureNotFoundException
OverflowException
OutOfMemoryException
FormatException
-
ParseExact
public 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, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, TypeInitializationException, OverflowException, OutOfMemoryException, FormatException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
IndexOutOfRangeException
TypeInitializationException
OverflowException
OutOfMemoryException
FormatException
-
ParseExact
public static DateTimeOffset ParseExact(java.lang.String dupParam0, JCORefOut dupParam1, IFormatProvider dupParam2, DateTimeStyles dupParam3) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, TypeInitializationException, OverflowException, OutOfMemoryException, FormatException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
IndexOutOfRangeException
TypeInitializationException
OverflowException
OutOfMemoryException
FormatException
-
Subtract
public DateTimeOffset Subtract(TimeSpan value) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidTimeZoneException, InvalidOperationException, UnauthorizedAccessException, IOException, OverflowException
-
ToLocalTime
public DateTimeOffset ToLocalTime() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, OverflowException
-
ToOffset
public DateTimeOffset ToOffset(TimeSpan offset) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
ToUniversalTime
public DateTimeOffset ToUniversalTime() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, InvalidTimeZoneException, UnauthorizedAccessException, IOException, OverflowException
-
ToString
public java.lang.String ToString(IFormatProvider formatProvider) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, OutOfMemoryException, InvalidOperationException, FormatException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, OverflowException, ArgumentNullException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
CultureNotFoundException
PlatformNotSupportedException
OutOfMemoryException
InvalidOperationException
FormatException
InvalidTimeZoneException
SecurityException
UnauthorizedAccessException
IOException
OverflowException
ArgumentNullException
ArrayTypeMismatchException
-
ToString
public java.lang.String ToString(java.lang.String format, IFormatProvider formatProvider) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, OutOfMemoryException, InvalidOperationException, FormatException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, OverflowException, ArgumentNullException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
CultureNotFoundException
PlatformNotSupportedException
OutOfMemoryException
InvalidOperationException
FormatException
InvalidTimeZoneException
SecurityException
UnauthorizedAccessException
IOException
OverflowException
ArgumentNullException
ArrayTypeMismatchException
-
ToString
public java.lang.String ToString(java.lang.String format) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, OutOfMemoryException, InvalidOperationException, FormatException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, OverflowException, ArgumentNullException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
CultureNotFoundException
PlatformNotSupportedException
OutOfMemoryException
InvalidOperationException
FormatException
InvalidTimeZoneException
SecurityException
UnauthorizedAccessException
IOException
OverflowException
ArgumentNullException
ArrayTypeMismatchException
-
Subtract
public TimeSpan Subtract(DateTimeOffset value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
Deconstruct
public void Deconstruct(JCORefOut<DateOnly> date, JCORefOut<TimeOnly> time, JCORefOut<TimeSpan> offset) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
-
getDay
public int getDay() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
-
getDayOfYear
public int getDayOfYear() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
-
getHour
public int getHour() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
-
getMicrosecond
public int getMicrosecond() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
-
getMillisecond
public int getMillisecond() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
-
getMinute
public int getMinute() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
-
getMonth
public int getMonth() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
-
getNanosecond
public int getNanosecond() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
-
getSecond
public int getSecond() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
-
getTotalOffsetMinutes
public int getTotalOffsetMinutes() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getYear
public int getYear() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
-
getTicks
public long getTicks() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
-
getUtcTicks
public long getUtcTicks() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
getDate
public DateTime getDate() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
-
getDateTime
public DateTime getDateTime() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
-
getLocalDateTime
public DateTime getLocalDateTime() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, InvalidTimeZoneException, UnauthorizedAccessException, IOException, OverflowException
-
getUtcDateTime
public DateTime getUtcDateTime() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
getNow
public static DateTimeOffset getNow() throws java.lang.Throwable, ArgumentOutOfRangeException, NotSupportedException, InvalidOperationException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, InvalidTimeZoneException, UnauthorizedAccessException, IOException, OverflowException
-
getUtcNow
public static DateTimeOffset getUtcNow() throws java.lang.Throwable, ArgumentOutOfRangeException, NotSupportedException, InvalidOperationException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException
-
getDayOfWeek
public DayOfWeek getDayOfWeek() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
-
getOffset
public TimeSpan getOffset() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
getTimeOfDay
public TimeSpan getTimeOfDay() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
-
-