public class TimeOnly extends ValueType
.NET documentation at https://learn.microsoft.com/dotnet/api/System.TimeOnly
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.TimeOnly
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
TimeOnly() |
TimeOnly(int hour,
int minute)
Initializes a new instance by invoking the .NET constructor.
|
TimeOnly(int hour,
int minute,
int second)
Initializes a new instance by invoking the .NET constructor.
|
TimeOnly(int hour,
int minute,
int second,
int millisecond)
Initializes a new instance by invoking the .NET constructor.
|
TimeOnly(int hour,
int minute,
int second,
int millisecond,
int microsecond)
Initializes a new instance by invoking the .NET constructor.
|
TimeOnly(long ticks)
Initializes a new instance by invoking the .NET constructor.
|
TimeOnly(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TimeOnly |
Add(TimeSpan value)
Invokes the .NET member Add.
|
TimeOnly |
Add(TimeSpan value,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> wrappedDays)
Invokes the .NET member Add.
|
TimeOnly |
AddHours(double value)
Invokes the .NET member AddHours.
|
TimeOnly |
AddHours(double value,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> wrappedDays)
Invokes the .NET member AddHours.
|
TimeOnly |
AddMinutes(double value)
Invokes the .NET member AddMinutes.
|
TimeOnly |
AddMinutes(double value,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> wrappedDays)
Invokes the .NET member AddMinutes.
|
static TimeOnly |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TimeOnly, a cast assert is made to check if types are compatible. |
int |
CompareTo(NetObject value)
Invokes the .NET member CompareTo.
|
int |
CompareTo(TimeOnly value)
Invokes the .NET member CompareTo.
|
void |
Deconstruct(JCORefOut<java.util.concurrent.atomic.AtomicInteger> hour,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> minute)
Invokes the .NET member Deconstruct.
|
void |
Deconstruct(JCORefOut<java.util.concurrent.atomic.AtomicInteger> hour,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> minute,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> second)
Invokes the .NET member Deconstruct.
|
void |
Deconstruct(JCORefOut<java.util.concurrent.atomic.AtomicInteger> hour,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> minute,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> second,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> millisecond)
Invokes the .NET member Deconstruct.
|
void |
Deconstruct(JCORefOut<java.util.concurrent.atomic.AtomicInteger> hour,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> minute,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> second,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> millisecond,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> microsecond)
Invokes the .NET member Deconstruct.
|
boolean |
Equals(TimeOnly value)
Invokes the .NET member Equals.
|
static TimeOnly |
FromDateTime(DateTime dateTime)
Invokes the .NET member FromDateTime.
|
static TimeOnly |
FromTimeSpan(TimeSpan timeSpan)
Invokes the .NET member FromTimeSpan.
|
int |
getHour()
Gets the value of the .NET property Hour.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
static TimeOnly |
getMaxValue()
Gets the value of the .NET property MaxValue.
|
int |
getMicrosecond()
Gets the value of the .NET property Microsecond.
|
int |
getMillisecond()
Gets the value of the .NET property Millisecond.
|
int |
getMinute()
Gets the value of the .NET property Minute.
|
static TimeOnly |
getMinValue()
Gets the value of the .NET property MinValue.
|
int |
getNanosecond()
Gets the value of the .NET property Nanosecond.
|
int |
getSecond()
Gets the value of the .NET property Second.
|
long |
getTicks()
Gets the value of the .NET property Ticks.
|
boolean |
IsBetween(TimeOnly start,
TimeOnly end)
Invokes the .NET member IsBetween.
|
static TimeOnly |
Parse(java.lang.String s)
Invokes the .NET member Parse.
|
static TimeOnly |
Parse(java.lang.String s,
IFormatProvider provider)
Invokes the .NET member Parse.
|
static TimeOnly |
Parse(java.lang.String s,
IFormatProvider provider,
DateTimeStyles style)
Invokes the .NET member Parse.
|
static TimeOnly |
ParseExact(java.lang.String dupParam0,
JCORefOut dupParam1)
Invokes the .NET member ParseExact.
|
static TimeOnly |
ParseExact(java.lang.String dupParam0,
JCORefOut dupParam1,
IFormatProvider dupParam2,
DateTimeStyles dupParam3)
Invokes the .NET member ParseExact.
|
static TimeOnly |
ParseExact(java.lang.String s,
java.lang.String format)
Invokes the .NET member ParseExact.
|
static TimeOnly |
ParseExact(java.lang.String s,
java.lang.String[] formats)
Invokes the .NET member ParseExact.
|
static TimeOnly |
ParseExact(java.lang.String s,
java.lang.String[] formats,
IFormatProvider provider,
DateTimeStyles style)
Invokes the .NET member ParseExact.
|
static TimeOnly |
ParseExact(java.lang.String s,
java.lang.String format,
IFormatProvider provider,
DateTimeStyles style)
Invokes the .NET member ParseExact.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
java.lang.String |
ToLongTimeString()
Invokes the .NET member ToLongTimeString.
|
java.lang.String |
ToShortTimeString()
Invokes the .NET member ToShortTimeString.
|
java.lang.String |
ToString(IFormatProvider provider)
Invokes the .NET member ToString.
|
java.lang.String |
ToString(java.lang.String format)
Invokes the .NET member ToString.
|
java.lang.String |
ToString(java.lang.String format,
IFormatProvider provider)
Invokes the .NET member ToString.
|
TimeSpan |
ToTimeSpan()
Invokes the .NET member ToTimeSpan.
|
static boolean |
TryParse(java.lang.String s,
IFormatProvider provider,
DateTimeStyles style,
JCORefOut<TimeOnly> result)
Invokes the .NET member TryParse.
|
static boolean |
TryParse(java.lang.String s,
IFormatProvider provider,
JCORefOut<TimeOnly> result)
Invokes the .NET member TryParse.
|
static boolean |
TryParse(java.lang.String s,
JCORefOut<TimeOnly> result)
Invokes the .NET member TryParse.
|
static boolean |
TryParseExact(java.lang.String s,
java.lang.String[] formats,
IFormatProvider provider,
DateTimeStyles style,
JCORefOut<TimeOnly> result)
Invokes the .NET member TryParseExact.
|
static boolean |
TryParseExact(java.lang.String s,
java.lang.String[] formats,
JCORefOut<TimeOnly> result)
Invokes the .NET member TryParseExact.
|
static boolean |
TryParseExact(java.lang.String s,
java.lang.String format,
IFormatProvider provider,
DateTimeStyles style,
JCORefOut<TimeOnly> result)
Invokes the .NET member TryParseExact.
|
static boolean |
TryParseExact(java.lang.String s,
java.lang.String format,
JCORefOut<TimeOnly> result)
Invokes the .NET member TryParseExact.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TimeOnly()
throws java.lang.Throwable
java.lang.Throwablepublic TimeOnly(int hour,
int minute)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException
hour - the argument of type intminute - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic TimeOnly(int hour,
int minute,
int second)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException
hour - the argument of type intminute - the argument of type intsecond - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic TimeOnly(int hour,
int minute,
int second,
int millisecond)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException
hour - the argument of type intminute - the argument of type intsecond - the argument of type intmillisecond - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic TimeOnly(int hour,
int minute,
int second,
int millisecond,
int microsecond)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException
hour - the argument of type intminute - the argument of type intsecond - the argument of type intmillisecond - the argument of type intmicrosecond - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itpublic TimeOnly(long ticks)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
IndexOutOfRangeException,
RankException,
CultureNotFoundException,
ObjectDisposedException
ticks - the argument of type longjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic TimeOnly(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic TimeOnly Add(TimeSpan value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
value - the argument of type TimeSpanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic TimeOnly Add(TimeSpan value, JCORefOut<java.util.concurrent.atomic.AtomicInteger> wrappedDays) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
value - the argument of type TimeSpanwrappedDays - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic TimeOnly AddHours(double value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
value - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic TimeOnly AddHours(double value, JCORefOut<java.util.concurrent.atomic.AtomicInteger> wrappedDays) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
value - the argument of type doublewrappedDays - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic TimeOnly AddMinutes(double value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
value - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic TimeOnly AddMinutes(double value, JCORefOut<java.util.concurrent.atomic.AtomicInteger> wrappedDays) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
value - the argument of type doublewrappedDays - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static TimeOnly cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TimeOnly, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTimeOnly instancejava.lang.Throwable - in case of error during cast operationpublic int CompareTo(NetObject value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
value - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic int CompareTo(TimeOnly value) throws java.lang.Throwable
value - the argument of type TimeOnlyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Deconstruct(JCORefOut<java.util.concurrent.atomic.AtomicInteger> hour, JCORefOut<java.util.concurrent.atomic.AtomicInteger> minute) throws java.lang.Throwable
hour - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>minute - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Deconstruct(JCORefOut<java.util.concurrent.atomic.AtomicInteger> hour, JCORefOut<java.util.concurrent.atomic.AtomicInteger> minute, JCORefOut<java.util.concurrent.atomic.AtomicInteger> second) throws java.lang.Throwable
hour - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>minute - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>second - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Deconstruct(JCORefOut<java.util.concurrent.atomic.AtomicInteger> hour, JCORefOut<java.util.concurrent.atomic.AtomicInteger> minute, JCORefOut<java.util.concurrent.atomic.AtomicInteger> second, JCORefOut<java.util.concurrent.atomic.AtomicInteger> millisecond) throws java.lang.Throwable
hour - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>minute - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>second - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>millisecond - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Deconstruct(JCORefOut<java.util.concurrent.atomic.AtomicInteger> hour, JCORefOut<java.util.concurrent.atomic.AtomicInteger> minute, JCORefOut<java.util.concurrent.atomic.AtomicInteger> second, JCORefOut<java.util.concurrent.atomic.AtomicInteger> millisecond, JCORefOut<java.util.concurrent.atomic.AtomicInteger> microsecond) throws java.lang.Throwable
hour - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>minute - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>second - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>millisecond - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>microsecond - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean Equals(TimeOnly value) throws java.lang.Throwable
value - the argument of type TimeOnlyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static TimeOnly FromDateTime(DateTime dateTime) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
dateTime - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static TimeOnly FromTimeSpan(TimeSpan timeSpan) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
timeSpan - the argument of type TimeSpanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic int getHour()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ValueTypepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ValueTypepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ValueTypenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ValueTypepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ValueTypepublic static TimeOnly getMaxValue() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getMicrosecond()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getMillisecond()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getMinute()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static TimeOnly getMinValue() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getNanosecond()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getSecond()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic long getTicks()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean IsBetween(TimeOnly start, TimeOnly end) throws java.lang.Throwable
start - the argument of type TimeOnlyend - the argument of type TimeOnlyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static TimeOnly Parse(java.lang.String s) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CultureNotFoundException, IndexOutOfRangeException, OverflowException, FormatException
s - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itpublic static TimeOnly Parse(java.lang.String s, IFormatProvider provider) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CultureNotFoundException, IndexOutOfRangeException, OverflowException, FormatException
s - the argument of type java.lang.Stringprovider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itpublic static TimeOnly Parse(java.lang.String s, IFormatProvider provider, DateTimeStyles style) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, OverflowException, FormatException
s - the argument of type java.lang.Stringprovider - the argument of type IFormatProviderstyle - the argument of type DateTimeStylesjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itpublic static TimeOnly ParseExact(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OverflowException, FormatException
dupParam0 - the argument of type java.lang.StringdupParam1 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itpublic static TimeOnly ParseExact(java.lang.String dupParam0, JCORefOut dupParam1, IFormatProvider dupParam2, DateTimeStyles dupParam3) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException, OverflowException, OutOfMemoryException, FormatException
dupParam0 - the argument of type java.lang.StringdupParam1 - the argument of type JCORefOutdupParam2 - the argument of type IFormatProviderdupParam3 - the argument of type DateTimeStylesjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itpublic static TimeOnly ParseExact(java.lang.String s, java.lang.String format) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, TypeInitializationException, OverflowException, FormatException
s - the argument of type java.lang.Stringformat - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itTypeInitializationException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itpublic static TimeOnly ParseExact(java.lang.String s, java.lang.String[] formats) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OverflowException, FormatException
s - the argument of type java.lang.Stringformats - the argument of type java.lang.String[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itpublic static TimeOnly ParseExact(java.lang.String s, java.lang.String[] formats, IFormatProvider provider, DateTimeStyles style) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException, OverflowException, OutOfMemoryException, FormatException
s - the argument of type java.lang.Stringformats - the argument of type java.lang.String[]provider - the argument of type IFormatProviderstyle - the argument of type DateTimeStylesjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itpublic static TimeOnly ParseExact(java.lang.String s, java.lang.String format, IFormatProvider provider, DateTimeStyles style) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException, TypeInitializationException, OverflowException, OutOfMemoryException, FormatException
s - the argument of type java.lang.Stringformat - the argument of type java.lang.Stringprovider - the argument of type IFormatProviderstyle - the argument of type DateTimeStylesjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itTypeInitializationException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ValueTypeinstance - the new underlying objectpublic java.lang.String ToLongTimeString()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentOutOfRangeException,
OutOfMemoryException,
FormatException,
InvalidOperationException,
CultureNotFoundException,
OverflowException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOverflowException - if the .NET member raises itpublic java.lang.String ToShortTimeString()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String ToString(IFormatProvider provider) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, OutOfMemoryException, FormatException, CultureNotFoundException, OverflowException
provider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOverflowException - if the .NET member raises itpublic java.lang.String ToString(java.lang.String format)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
OutOfMemoryException,
FormatException,
CultureNotFoundException,
OverflowException
format - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOverflowException - if the .NET member raises itpublic java.lang.String ToString(java.lang.String format,
IFormatProvider provider)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
OutOfMemoryException,
SecurityException,
OverflowException,
FormatException,
CultureNotFoundException
format - the argument of type java.lang.Stringprovider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSecurityException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic TimeSpan ToTimeSpan() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static boolean TryParse(java.lang.String s,
IFormatProvider provider,
DateTimeStyles style,
JCORefOut<TimeOnly> result)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
InvalidOperationException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
OverflowException,
NotSupportedException
s - the argument of type java.lang.Stringprovider - the argument of type IFormatProviderstyle - the argument of type DateTimeStylesresult - the argument of type JCORefOut<TimeOnly>java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic static boolean TryParse(java.lang.String s,
IFormatProvider provider,
JCORefOut<TimeOnly> result)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
ArgumentNullException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
OverflowException,
NotSupportedException
s - the argument of type java.lang.Stringprovider - the argument of type IFormatProviderresult - the argument of type JCORefOut<TimeOnly>java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic static boolean TryParse(java.lang.String s,
JCORefOut<TimeOnly> result)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
ArgumentNullException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
OverflowException,
NotSupportedException
s - the argument of type java.lang.Stringresult - the argument of type JCORefOut<TimeOnly>java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic static boolean TryParseExact(java.lang.String s,
java.lang.String[] formats,
IFormatProvider provider,
DateTimeStyles style,
JCORefOut<TimeOnly> result)
throws java.lang.Throwable,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
NotSupportedException,
OverflowException,
InvalidOperationException,
ArgumentNullException,
OutOfMemoryException,
FormatException,
CultureNotFoundException,
ArrayTypeMismatchException,
ArgumentException
s - the argument of type java.lang.Stringformats - the argument of type java.lang.String[]provider - the argument of type IFormatProviderstyle - the argument of type DateTimeStylesresult - the argument of type JCORefOut<TimeOnly>java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itpublic static boolean TryParseExact(java.lang.String s,
java.lang.String[] formats,
JCORefOut<TimeOnly> result)
throws java.lang.Throwable,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
OverflowException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
FormatException,
ArrayTypeMismatchException
s - the argument of type java.lang.Stringformats - the argument of type java.lang.String[]result - the argument of type JCORefOut<TimeOnly>java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static boolean TryParseExact(java.lang.String s,
java.lang.String format,
IFormatProvider provider,
DateTimeStyles style,
JCORefOut<TimeOnly> result)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArgumentNullException,
RankException,
ArrayTypeMismatchException,
TypeInitializationException,
OverflowException,
OutOfMemoryException,
FormatException,
CultureNotFoundException
s - the argument of type java.lang.Stringformat - the argument of type java.lang.Stringprovider - the argument of type IFormatProviderstyle - the argument of type DateTimeStylesresult - the argument of type JCORefOut<TimeOnly>java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itTypeInitializationException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static boolean TryParseExact(java.lang.String s,
java.lang.String format,
JCORefOut<TimeOnly> result)
throws java.lang.Throwable,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
RankException,
ArgumentException,
ArrayTypeMismatchException,
TypeInitializationException,
OverflowException,
InvalidOperationException,
ArgumentNullException,
FormatException
s - the argument of type java.lang.Stringformat - the argument of type java.lang.Stringresult - the argument of type JCORefOut<TimeOnly>java.lang.Throwable - if the call fails in the bridge or in the CLRIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itTypeInitializationException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises it