Package system
Class TimeSpan
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.ValueType
-
- system.TimeSpan
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class TimeSpan extends ValueType
The base .NET class managing System.TimeSpan, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.TimeSpan
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=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.String
assemblyShortName
Assembly name: System.Private.CoreLibstatic java.lang.String
className
Qualified class name: System.TimeSpanstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description TimeSpan()
TimeSpan(int hours, int minutes, int seconds)
TimeSpan(int days, int hours, int minutes, int seconds)
TimeSpan(int days, int hours, int minutes, int seconds, int milliseconds)
TimeSpan(int days, int hours, int minutes, int seconds, int milliseconds, int microseconds)
TimeSpan(long ticks)
TimeSpan(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeSpan
Add(TimeSpan ts)
static TimeSpan
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoTimeSpan
, a cast assert is made to check if types are compatible.static int
Compare(TimeSpan t1, TimeSpan t2)
int
CompareTo(NetObject value)
int
CompareTo(TimeSpan value)
TimeSpan
Divide(double divisor)
double
Divide(TimeSpan ts)
TimeSpan
Duration()
boolean
Equals(TimeSpan obj)
static boolean
Equals(TimeSpan t1, TimeSpan t2)
static TimeSpan
FromDays(double value)
static TimeSpan
FromDays(int days)
static TimeSpan
FromDays(int days, int hours, long minutes, long seconds, long milliseconds, long microseconds)
static TimeSpan
FromHours(double value)
static TimeSpan
FromHours(int hours)
static TimeSpan
FromHours(int hours, long minutes, long seconds, long milliseconds, long microseconds)
static TimeSpan
FromMicroseconds(double value)
static TimeSpan
FromMicroseconds(long microseconds)
static TimeSpan
FromMilliseconds(double value)
static TimeSpan
FromMilliseconds(long milliseconds, long microseconds)
static TimeSpan
FromMinutes(double value)
static TimeSpan
FromMinutes(long minutes)
static TimeSpan
FromMinutes(long minutes, long seconds, long milliseconds, long microseconds)
static TimeSpan
FromSeconds(double value)
static TimeSpan
FromSeconds(long seconds)
static TimeSpan
FromSeconds(long seconds, long milliseconds, long microseconds)
static TimeSpan
FromTicks(long value)
int
getDays()
int
getHours()
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 Typeint
getMicroseconds()
int
getMilliseconds()
int
getMinutes()
int
getNanoseconds()
int
getSeconds()
long
getTicks()
double
getTotalDays()
double
getTotalHours()
double
getTotalMicroseconds()
double
getTotalMilliseconds()
double
getTotalMinutes()
double
getTotalNanoseconds()
double
getTotalSeconds()
TimeSpan
Multiply(double factor)
TimeSpan
Negate()
static TimeSpan
Parse(java.lang.String s)
static TimeSpan
Parse(java.lang.String input, IFormatProvider formatProvider)
static TimeSpan
ParseExact(java.lang.String input, java.lang.String[] formats, IFormatProvider formatProvider)
static TimeSpan
ParseExact(java.lang.String input, java.lang.String[] formats, IFormatProvider formatProvider, TimeSpanStyles styles)
static TimeSpan
ParseExact(java.lang.String input, java.lang.String format, IFormatProvider formatProvider)
static TimeSpan
ParseExact(java.lang.String input, java.lang.String format, IFormatProvider formatProvider, TimeSpanStyles styles)
static TimeSpan
ParseExact(java.lang.String dupParam0, JCORefOut dupParam1, IFormatProvider dupParam2)
static TimeSpan
ParseExact(java.lang.String dupParam0, JCORefOut dupParam1, IFormatProvider dupParam2, TimeSpanStyles dupParam3)
void
setJCOInstance(JCObject instance)
TimeSpan
Subtract(TimeSpan ts)
java.lang.String
ToString(java.lang.String format)
java.lang.String
ToString(java.lang.String format, IFormatProvider formatProvider)
static boolean
TryParse(java.lang.String s, JCORefOut<TimeSpan> result)
static boolean
TryParse(java.lang.String input, IFormatProvider formatProvider, JCORefOut<TimeSpan> result)
static boolean
TryParseExact(java.lang.String input, java.lang.String[] formats, IFormatProvider formatProvider, JCORefOut<TimeSpan> result)
static boolean
TryParseExact(java.lang.String input, java.lang.String[] formats, IFormatProvider formatProvider, TimeSpanStyles styles, JCORefOut<TimeSpan> result)
static boolean
TryParseExact(java.lang.String input, java.lang.String format, IFormatProvider formatProvider, JCORefOut<TimeSpan> result)
static boolean
TryParseExact(java.lang.String input, java.lang.String format, IFormatProvider formatProvider, TimeSpanStyles styles, JCORefOut<TimeSpan> result)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.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.TimeSpan- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TimeSpan
public TimeSpan(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
TimeSpan
public TimeSpan() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
TimeSpan
public TimeSpan(int days, int hours, int minutes, int seconds, int milliseconds, int microseconds) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
TimeSpan
public TimeSpan(int days, int hours, int minutes, int seconds, int milliseconds) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
TimeSpan
public TimeSpan(int days, int hours, int minutes, int seconds) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
TimeSpan
public TimeSpan(int hours, int minutes, int seconds) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
TimeSpan
public TimeSpan(long ticks) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- 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 interfaceIJCOBridgeReflected
- 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 interfaceIJCOBridgeReflected
- 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 interfaceIJCOBridgeReflected
- 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 interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classValueType
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static TimeSpan cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoTimeSpan
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
TimeSpan
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Equals
public static boolean Equals(TimeSpan t1, TimeSpan t2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Equals
public boolean Equals(TimeSpan obj) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
TryParse
public static boolean TryParse(java.lang.String input, IFormatProvider formatProvider, JCORefOut<TimeSpan> result) throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, FormatException, NullReferenceException, NotSupportedException, OutOfMemoryException, ArgumentNullException, InvalidOperationException, OverflowException
-
TryParse
public static boolean TryParse(java.lang.String s, JCORefOut<TimeSpan> result) throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, FormatException, NullReferenceException, NotSupportedException, OutOfMemoryException, ArgumentNullException, InvalidOperationException, OverflowException
-
TryParseExact
public static boolean TryParseExact(java.lang.String input, java.lang.String format, IFormatProvider formatProvider, TimeSpanStyles styles, JCORefOut<TimeSpan> result) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, OverflowException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
OverflowException
OutOfMemoryException
-
TryParseExact
public static boolean TryParseExact(java.lang.String input, java.lang.String format, IFormatProvider formatProvider, JCORefOut<TimeSpan> result) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, FormatException, IndexOutOfRangeException, ArgumentNullException, OverflowException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
FormatException
IndexOutOfRangeException
ArgumentNullException
OverflowException
OutOfMemoryException
-
TryParseExact
public static boolean TryParseExact(java.lang.String input, java.lang.String[] formats, IFormatProvider formatProvider, TimeSpanStyles styles, JCORefOut<TimeSpan> result) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, OverflowException
-
TryParseExact
public static boolean TryParseExact(java.lang.String input, java.lang.String[] formats, IFormatProvider formatProvider, JCORefOut<TimeSpan> result) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, OverflowException
-
Divide
public double Divide(TimeSpan ts) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Compare
public static int Compare(TimeSpan t1, TimeSpan t2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CompareTo
public int CompareTo(NetObject value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
-
CompareTo
public int CompareTo(TimeSpan value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToString
public java.lang.String ToString(java.lang.String format, IFormatProvider formatProvider) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, CultureNotFoundException, NullReferenceException, FormatException
-
ToString
public java.lang.String ToString(java.lang.String format) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, CultureNotFoundException, NullReferenceException, FormatException
-
Add
public TimeSpan Add(TimeSpan ts) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OverflowException
-
Divide
public TimeSpan Divide(double divisor) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OverflowException
-
Duration
public TimeSpan Duration() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OverflowException
-
FromDays
public static TimeSpan FromDays(double value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OverflowException
-
FromDays
public static TimeSpan FromDays(int days, int hours, long minutes, long seconds, long milliseconds, long microseconds) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
FromDays
public static TimeSpan FromDays(int days) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
FromHours
public static TimeSpan FromHours(double value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OverflowException
-
FromHours
public static TimeSpan FromHours(int hours, long minutes, long seconds, long milliseconds, long microseconds) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
FromHours
public static TimeSpan FromHours(int hours) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
FromMicroseconds
public static TimeSpan FromMicroseconds(double value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OverflowException
-
FromMicroseconds
public static TimeSpan FromMicroseconds(long microseconds) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
FromMilliseconds
public static TimeSpan FromMilliseconds(double value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OverflowException
-
FromMilliseconds
public static TimeSpan FromMilliseconds(long milliseconds, long microseconds) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
FromMinutes
public static TimeSpan FromMinutes(double value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OverflowException
-
FromMinutes
public static TimeSpan FromMinutes(long minutes, long seconds, long milliseconds, long microseconds) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
FromMinutes
public static TimeSpan FromMinutes(long minutes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
FromSeconds
public static TimeSpan FromSeconds(double value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OverflowException
-
FromSeconds
public static TimeSpan FromSeconds(long seconds, long milliseconds, long microseconds) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
FromSeconds
public static TimeSpan FromSeconds(long seconds) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
FromTicks
public static TimeSpan FromTicks(long value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Multiply
public TimeSpan Multiply(double factor) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OverflowException
-
Negate
public TimeSpan Negate() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OverflowException
-
Parse
public static TimeSpan Parse(java.lang.String input, IFormatProvider formatProvider) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, NullReferenceException, OutOfMemoryException, OverflowException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ArgumentNullException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
NullReferenceException
OutOfMemoryException
OverflowException
-
Parse
public static TimeSpan Parse(java.lang.String s) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, NullReferenceException, OutOfMemoryException, OverflowException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
FormatException
NullReferenceException
OutOfMemoryException
OverflowException
-
ParseExact
public static TimeSpan ParseExact(java.lang.String input, java.lang.String format, IFormatProvider formatProvider, TimeSpanStyles styles) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, OverflowException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
OverflowException
OutOfMemoryException
-
ParseExact
public static TimeSpan ParseExact(java.lang.String input, java.lang.String format, IFormatProvider formatProvider) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, FormatException, IndexOutOfRangeException, OverflowException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
FormatException
IndexOutOfRangeException
OverflowException
OutOfMemoryException
-
ParseExact
public static TimeSpan ParseExact(java.lang.String input, java.lang.String[] formats, IFormatProvider formatProvider, TimeSpanStyles styles) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, OverflowException
-
ParseExact
public static TimeSpan ParseExact(java.lang.String dupParam0, JCORefOut dupParam1, IFormatProvider dupParam2, TimeSpanStyles dupParam3) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, OverflowException
-
ParseExact
public static TimeSpan ParseExact(java.lang.String input, java.lang.String[] formats, IFormatProvider formatProvider) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, OverflowException
-
ParseExact
public static TimeSpan ParseExact(java.lang.String dupParam0, JCORefOut dupParam1, IFormatProvider dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, OverflowException
-
Subtract
public TimeSpan Subtract(TimeSpan ts) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OverflowException
-
getTotalDays
public double getTotalDays() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTotalHours
public double getTotalHours() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTotalMicroseconds
public double getTotalMicroseconds() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTotalMilliseconds
public double getTotalMilliseconds() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTotalMinutes
public double getTotalMinutes() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTotalNanoseconds
public double getTotalNanoseconds() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTotalSeconds
public double getTotalSeconds() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDays
public int getDays() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getHours
public int getHours() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getMicroseconds
public int getMicroseconds() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getMilliseconds
public int getMilliseconds() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getMinutes
public int getMinutes() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getNanoseconds
public int getNanoseconds() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSeconds
public int getSeconds() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTicks
public long getTicks() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-