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, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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.StringassemblyFullNameFully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: mscorlibstatic java.lang.StringclassNameQualified class name: System.DateTimeOffsetstatic JCTypeclassTypeThe 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, 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(DateTime dateTime)DateTimeOffset(DateTime dateTime, TimeSpan offset)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DateTimeOffsetAdd(TimeSpan timeSpan)DateTimeOffsetAddDays(double days)DateTimeOffsetAddHours(double hours)DateTimeOffsetAddMilliseconds(double milliseconds)DateTimeOffsetAddMinutes(double minutes)DateTimeOffsetAddMonths(int months)DateTimeOffsetAddSeconds(double seconds)DateTimeOffsetAddTicks(long ticks)DateTimeOffsetAddYears(int years)static DateTimeOffsetcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoDateTimeOffset, a cast assert is made to check if types are compatible.static intCompare(DateTimeOffset first, DateTimeOffset second)intCompareTo(DateTimeOffset other)booleanEquals(DateTimeOffset other)static booleanEquals(DateTimeOffset first, DateTimeOffset second)booleanEqualsExact(DateTimeOffset other)static DateTimeOffsetFromFileTime(long fileTime)static DateTimeOffsetFromUnixTimeMilliseconds(long milliseconds)static DateTimeOffsetFromUnixTimeSeconds(long seconds)DateTimegetDate()DateTimegetDateTime()intgetDay()DayOfWeekgetDayOfWeek()intgetDayOfYear()intgetHour()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeDateTimegetLocalDateTime()intgetMillisecond()intgetMinute()intgetMonth()static DateTimeOffsetgetNow()TimeSpangetOffset()intgetSecond()longgetTicks()TimeSpangetTimeOfDay()DateTimegetUtcDateTime()static DateTimeOffsetgetUtcNow()longgetUtcTicks()intgetYear()static DateTimeOffsetParse(java.lang.String input)static DateTimeOffsetParse(java.lang.String input, IFormatProvider formatProvider)static DateTimeOffsetParse(java.lang.String input, IFormatProvider formatProvider, DateTimeStyles styles)static DateTimeOffsetParseExact(java.lang.String input, java.lang.String[] formats, IFormatProvider formatProvider, DateTimeStyles styles)static DateTimeOffsetParseExact(java.lang.String input, java.lang.String format, IFormatProvider formatProvider)static DateTimeOffsetParseExact(java.lang.String input, java.lang.String format, IFormatProvider formatProvider, DateTimeStyles styles)static DateTimeOffsetParseExact(java.lang.String dupParam0, JCORefOut dupParam1, IFormatProvider dupParam2, DateTimeStyles dupParam3)voidsetJCOInstance(JCObject instance)TimeSpanSubtract(DateTimeOffset value)DateTimeOffsetSubtract(TimeSpan value)longToFileTime()DateTimeOffsetToLocalTime()DateTimeOffsetToOffset(TimeSpan offset)java.lang.StringToString(java.lang.String format)java.lang.StringToString(java.lang.String format, IFormatProvider formatProvider)java.lang.StringToString(IFormatProvider formatProvider)DateTimeOffsetToUniversalTime()longToUnixTimeMilliseconds()longToUnixTimeSeconds()static booleanTryParse(java.lang.String input, JCORefOut<DateTimeOffset> result)static booleanTryParse(java.lang.String input, IFormatProvider formatProvider, DateTimeStyles styles, JCORefOut<DateTimeOffset> result)static booleanTryParseExact(java.lang.String input, java.lang.String[] formats, IFormatProvider formatProvider, DateTimeStyles styles, JCORefOut<DateTimeOffset> result)static booleanTryParseExact(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: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: mscorlib- 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.ThrowableInternal 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, Calendar calendar, TimeSpan offset) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, OutOfMemoryException, FormatException
-
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, MissingMethodException, TargetInvocationException, CultureNotFoundException, OutOfMemoryException, FormatException
-
DateTimeOffset
public DateTimeOffset(int year, int month, int day, int hour, int minute, int second, TimeSpan offset) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeException
-
DateTimeOffset
public DateTimeOffset(long ticks, TimeSpan offset) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeException
-
DateTimeOffset
public DateTimeOffset(DateTime dateTime) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, OverflowException, SecurityException, UnauthorizedAccessException, IOException, InvalidOperationException, CultureNotFoundException, NotSupportedException
-
DateTimeOffset
public DateTimeOffset(DateTime dateTime, TimeSpan offset) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, OverflowException, SecurityException, UnauthorizedAccessException, IOException, InvalidOperationException, CultureNotFoundException, NotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIComparable- Specified by:
getJCOAssemblyNamein interfaceIDeserializationCallback- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceISerializable- Overrides:
getJCOAssemblyNamein classValueType- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIComparable- Specified by:
getJCOClassNamein interfaceIDeserializationCallback- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Specified by:
getJCOClassNamein interfaceISerializable- Overrides:
getJCOClassNamein classValueType- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIComparable- Specified by:
getJCOObjectNamein interfaceIDeserializationCallback- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Specified by:
getJCOObjectNamein interfaceISerializable- Overrides:
getJCOObjectNamein classValueType- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIComparable- Specified by:
getJCOInstancein interfaceIDeserializationCallback- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Specified by:
getJCOInstancein interfaceISerializable- Overrides:
getJCOInstancein classValueType- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIComparable- Specified by:
getJCOTypein interfaceIDeserializationCallback- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceISerializable- Overrides:
getJCOTypein classValueType- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static DateTimeOffset cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoDateTimeOffset, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
DateTimeOffsetinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Equals
public boolean Equals(DateTimeOffset other) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
Equals
public static boolean Equals(DateTimeOffset first, DateTimeOffset second) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
EqualsExact
public boolean EqualsExact(DateTimeOffset other) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
TryParse
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- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionTypeInitializationExceptionFormatExceptionNullReferenceExceptionOverflowException
-
TryParse
public 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
-
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, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, TypeInitializationException, InvalidOperationException, IndexOutOfRangeException, FormatException, NullReferenceException, OverflowException
-
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, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, TypeInitializationException, InvalidOperationException, IndexOutOfRangeException, FormatException, OverflowException
-
Compare
public static int Compare(DateTimeOffset first, DateTimeOffset second) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
CompareTo
public int CompareTo(DateTimeOffset other) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
ToFileTime
public long ToFileTime() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, NotSupportedException, OverflowException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidTimeZoneExceptionNotSupportedExceptionOverflowException
-
ToUnixTimeMilliseconds
public long ToUnixTimeMilliseconds() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
ToUnixTimeSeconds
public long ToUnixTimeSeconds() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
Add
public DateTimeOffset Add(TimeSpan timeSpan) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
AddDays
public DateTimeOffset AddDays(double days) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
AddHours
public DateTimeOffset AddHours(double hours) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
AddMilliseconds
public DateTimeOffset AddMilliseconds(double milliseconds) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
AddMinutes
public DateTimeOffset AddMinutes(double minutes) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
AddMonths
public DateTimeOffset AddMonths(int months) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
AddSeconds
public DateTimeOffset AddSeconds(double seconds) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
AddTicks
public DateTimeOffset AddTicks(long ticks) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
AddYears
public DateTimeOffset AddYears(int years) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
FromFileTime
public static DateTimeOffset FromFileTime(long fileTime) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, OverflowException, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionOverflowExceptionArgumentNullException
-
FromUnixTimeMilliseconds
public static DateTimeOffset FromUnixTimeMilliseconds(long milliseconds) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, ArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionArgumentException
-
FromUnixTimeSeconds
public static DateTimeOffset FromUnixTimeSeconds(long seconds) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, ArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionArgumentException
-
Parse
public static DateTimeOffset Parse(java.lang.String input) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, TypeInitializationException, FormatException, NullReferenceException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionTypeInitializationExceptionFormatExceptionNullReferenceExceptionOverflowException
-
Parse
public 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
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionTypeInitializationExceptionInvalidOperationExceptionFormatExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionNotSupportedExceptionNullReferenceExceptionIndexOutOfRangeExceptionOverflowException
-
Parse
public 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
-
ParseExact
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
-
ParseExact
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
-
ParseExact
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
-
ParseExact
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
-
Subtract
public DateTimeOffset Subtract(TimeSpan value) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
ToLocalTime
public DateTimeOffset ToLocalTime() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, NotSupportedException, OverflowException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidTimeZoneExceptionNotSupportedExceptionOverflowException
-
ToOffset
public DateTimeOffset ToOffset(TimeSpan offset) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
ToUniversalTime
public DateTimeOffset ToUniversalTime() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
ToString
public java.lang.String ToString(IFormatProvider formatProvider) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, CultureNotFoundException, TypeInitializationException, InvalidOperationException, IndexOutOfRangeException, OverflowException, FormatException, NullReferenceException
-
ToString
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- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionTypeInitializationExceptionFormatExceptionOverflowExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionNullReferenceException
-
ToString
public java.lang.String ToString(java.lang.String format, IFormatProvider formatProvider) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, CultureNotFoundException, TypeInitializationException, InvalidOperationException, IndexOutOfRangeException, OverflowException, FormatException, NullReferenceException
-
Subtract
public TimeSpan Subtract(DateTimeOffset value) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
getDay
public int getDay() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
getDayOfYear
public int getDayOfYear() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
getHour
public int getHour() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
getMillisecond
public int getMillisecond() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
getMinute
public int getMinute() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
getMonth
public int getMonth() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
getSecond
public int getSecond() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
getYear
public int getYear() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
getTicks
public long getTicks() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
getUtcTicks
public long getUtcTicks() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
getDate
public DateTime getDate() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
getDateTime
public DateTime getDateTime() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
getLocalDateTime
public DateTime getLocalDateTime() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidTimeZoneExceptionNotSupportedException
-
getUtcDateTime
public DateTime getUtcDateTime() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
getNow
public static DateTimeOffset getNow() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidTimeZoneException, OverflowException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidTimeZoneExceptionOverflowExceptionNotSupportedException
-
getUtcNow
public static DateTimeOffset getUtcNow() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
getDayOfWeek
public DayOfWeek getDayOfWeek() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
getOffset
public TimeSpan getOffset() throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
getTimeOfDay
public TimeSpan getTimeOfDay() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
-