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.String
assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: mscorlibstatic 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, 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 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 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)
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
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 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 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: 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.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, 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.Throwable
ArgumentException
ArgumentOutOfRangeException
-
DateTimeOffset
public DateTimeOffset(long ticks, TimeSpan offset) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
-
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: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 boolean Equals(DateTimeOffset other) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
Equals
public static boolean Equals(DateTimeOffset first, DateTimeOffset second) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
EqualsExact
public boolean EqualsExact(DateTimeOffset other) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
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.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
TypeInitializationException
FormatException
NullReferenceException
OverflowException
-
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.Throwable
ArgumentOutOfRangeException
ArgumentException
-
CompareTo
public int CompareTo(DateTimeOffset other) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
ToFileTime
public long ToFileTime() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, NotSupportedException, OverflowException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
InvalidTimeZoneException
NotSupportedException
OverflowException
-
ToUnixTimeMilliseconds
public long ToUnixTimeMilliseconds() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
ToUnixTimeSeconds
public long ToUnixTimeSeconds() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
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.Throwable
ArgumentOutOfRangeException
ArgumentException
OverflowException
ArgumentNullException
-
FromUnixTimeMilliseconds
public static DateTimeOffset FromUnixTimeMilliseconds(long milliseconds) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
OutOfMemoryException
FormatException
ArgumentException
-
FromUnixTimeSeconds
public static DateTimeOffset FromUnixTimeSeconds(long seconds) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
OutOfMemoryException
FormatException
ArgumentException
-
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.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
TypeInitializationException
FormatException
NullReferenceException
OverflowException
-
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.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
TypeInitializationException
InvalidOperationException
FormatException
MissingMethodException
TargetInvocationException
CultureNotFoundException
NotSupportedException
NullReferenceException
IndexOutOfRangeException
OverflowException
-
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.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
InvalidTimeZoneException
NotSupportedException
OverflowException
-
ToOffset
public DateTimeOffset ToOffset(TimeSpan offset) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
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.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
TypeLoadException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
TypeInitializationException
FormatException
OverflowException
OutOfMemoryException
IndexOutOfRangeException
NullReferenceException
-
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.Throwable
ArgumentOutOfRangeException
ArgumentException
-
getDay
public int getDay() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
getDayOfYear
public int getDayOfYear() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
getHour
public int getHour() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
getMillisecond
public int getMillisecond() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
getMinute
public int getMinute() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
getMonth
public int getMonth() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
getSecond
public int getSecond() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
getYear
public int getYear() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
getTicks
public long getTicks() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
getUtcTicks
public long getUtcTicks() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
getDate
public DateTime getDate() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
getDateTime
public DateTime getDateTime() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
getLocalDateTime
public DateTime getLocalDateTime() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidTimeZoneException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
InvalidTimeZoneException
NotSupportedException
-
getUtcDateTime
public DateTime getUtcDateTime() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
getNow
public static DateTimeOffset getNow() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidTimeZoneException, OverflowException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
InvalidTimeZoneException
OverflowException
NotSupportedException
-
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.Throwable
ArgumentOutOfRangeException
ArgumentException
-
getOffset
public TimeSpan getOffset() throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
-
getTimeOfDay
public TimeSpan getTimeOfDay() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
-