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=8.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.StringassemblyFullNameFully assembly qualified name: System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.StringassemblyShortNameAssembly name: System.Private.CoreLibstatic java.lang.StringclassNameQualified class name: System.TimeSpanstatic JCTypeclassTypeThe 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 TimeSpanAdd(TimeSpan ts)static TimeSpancast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoTimeSpan, a cast assert is made to check if types are compatible.static intCompare(TimeSpan t1, TimeSpan t2)intCompareTo(NetObject value)intCompareTo(TimeSpan value)TimeSpanDivide(double divisor)doubleDivide(TimeSpan ts)TimeSpanDuration()booleanEquals(TimeSpan obj)static booleanEquals(TimeSpan t1, TimeSpan t2)static TimeSpanFromDays(double value)static TimeSpanFromHours(double value)static TimeSpanFromMicroseconds(double value)static TimeSpanFromMilliseconds(double value)static TimeSpanFromMinutes(double value)static TimeSpanFromSeconds(double value)static TimeSpanFromTicks(long value)intgetDays()intgetHours()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 TypeintgetMicroseconds()intgetMilliseconds()intgetMinutes()intgetNanoseconds()intgetSeconds()longgetTicks()doublegetTotalDays()doublegetTotalHours()doublegetTotalMicroseconds()doublegetTotalMilliseconds()doublegetTotalMinutes()doublegetTotalNanoseconds()doublegetTotalSeconds()TimeSpanMultiply(double factor)TimeSpanNegate()static TimeSpanParse(java.lang.String s)static TimeSpanParse(java.lang.String input, IFormatProvider formatProvider)static TimeSpanParseExact(java.lang.String input, java.lang.String[] formats, IFormatProvider formatProvider)static TimeSpanParseExact(java.lang.String input, java.lang.String[] formats, IFormatProvider formatProvider, TimeSpanStyles styles)static TimeSpanParseExact(java.lang.String input, java.lang.String format, IFormatProvider formatProvider)static TimeSpanParseExact(java.lang.String input, java.lang.String format, IFormatProvider formatProvider, TimeSpanStyles styles)static TimeSpanParseExact(java.lang.String dupParam0, JCORefOut dupParam1, IFormatProvider dupParam2)static TimeSpanParseExact(java.lang.String dupParam0, JCORefOut dupParam1, IFormatProvider dupParam2, TimeSpanStyles dupParam3)voidsetJCOInstance(JCObject instance)TimeSpanSubtract(TimeSpan ts)java.lang.StringToString(java.lang.String format)java.lang.StringToString(java.lang.String format, IFormatProvider formatProvider)static booleanTryParse(java.lang.String s, JCORefOut<TimeSpan> result)static booleanTryParse(java.lang.String input, IFormatProvider formatProvider, JCORefOut<TimeSpan> result)static booleanTryParseExact(java.lang.String input, java.lang.String[] formats, IFormatProvider formatProvider, JCORefOut<TimeSpan> result)static booleanTryParseExact(java.lang.String input, java.lang.String[] formats, IFormatProvider formatProvider, TimeSpanStyles styles, JCORefOut<TimeSpan> result)static booleanTryParseExact(java.lang.String input, java.lang.String format, IFormatProvider formatProvider, JCORefOut<TimeSpan> result)static booleanTryParseExact(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=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.TimeSpan- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TimeSpan
public TimeSpan(java.lang.Object instance) throws java.lang.ThrowableInternal 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:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- 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 interfaceIJCOBridgeReflected- 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 interfaceIJCOBridgeReflected- 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 interfaceIJCOBridgeReflected- 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 interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classValueType- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static TimeSpan cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoTimeSpan, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
TimeSpaninstance- 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, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, FormatException, OutOfMemoryException, ArgumentNullException, OverflowException
-
TryParse
public static boolean TryParse(java.lang.String s, JCORefOut<TimeSpan> result) throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, FormatException, OutOfMemoryException, ArgumentNullException, 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, CultureNotFoundException, ObjectDisposedException, FormatException, IndexOutOfRangeException, OverflowException, OutOfMemoryException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionIndexOutOfRangeExceptionOverflowExceptionOutOfMemoryException
-
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.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionFormatExceptionIndexOutOfRangeExceptionArgumentNullExceptionOverflowExceptionOutOfMemoryException
-
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, CultureNotFoundException, ObjectDisposedException, FormatException, IndexOutOfRangeException, OverflowException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionIndexOutOfRangeExceptionOverflowException
-
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, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, 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, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, FormatException, CultureNotFoundException, ArgumentOutOfRangeException, ArrayTypeMismatchException
-
ToString
public java.lang.String ToString(java.lang.String format) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, FormatException, CultureNotFoundException, ArgumentOutOfRangeException, ArrayTypeMismatchException
-
Add
public TimeSpan Add(TimeSpan ts) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionIndexOutOfRangeExceptionRankExceptionCultureNotFoundExceptionObjectDisposedExceptionOverflowException
-
Divide
public TimeSpan Divide(double divisor) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OverflowException
-
Duration
public TimeSpan Duration() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionIndexOutOfRangeExceptionRankExceptionCultureNotFoundExceptionObjectDisposedExceptionOverflowException
-
FromDays
public static TimeSpan FromDays(double value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OverflowException
-
FromHours
public static TimeSpan FromHours(double value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OverflowException
-
FromMicroseconds
public static TimeSpan FromMicroseconds(double value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OverflowException
-
FromMilliseconds
public static TimeSpan FromMilliseconds(double value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OverflowException
-
FromMinutes
public static TimeSpan FromMinutes(double value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OverflowException
-
FromSeconds
public static TimeSpan FromSeconds(double value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OverflowException
-
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, CultureNotFoundException, ObjectDisposedException, OverflowException
-
Negate
public TimeSpan Negate() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionIndexOutOfRangeExceptionRankExceptionCultureNotFoundExceptionObjectDisposedExceptionOverflowException
-
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, OutOfMemoryException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionOverflowException
-
Parse
public static TimeSpan Parse(java.lang.String s) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, OutOfMemoryException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionOverflowException
-
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, CultureNotFoundException, ObjectDisposedException, FormatException, IndexOutOfRangeException, OverflowException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionIndexOutOfRangeExceptionOverflowExceptionOutOfMemoryException
-
ParseExact
public static TimeSpan 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, FormatException, OverflowException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionOverflowExceptionOutOfMemoryException
-
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, CultureNotFoundException, ObjectDisposedException, FormatException, IndexOutOfRangeException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionIndexOutOfRangeExceptionOverflowException
-
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, CultureNotFoundException, ObjectDisposedException, FormatException, IndexOutOfRangeException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionIndexOutOfRangeExceptionOverflowException
-
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, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionIndexOutOfRangeExceptionRankExceptionCultureNotFoundExceptionObjectDisposedExceptionOverflowException
-
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
-
-