Class TimeUnit
- Namespace
- Java.Util.Concurrent
- Assembly
- MASES.JNet.dll
public class TimeUnit : Enum<TimeUnit>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseTimeUnit
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Enum<TimeUnit>>.IsAssignableFrom(IJavaType)JVMBridgeBase<Enum<TimeUnit>>.IsAssignableFrom<T>()JVMBridgeBase<Enum<TimeUnit>>.Execute<T>(params T[])JVMBridgeBase<Enum<TimeUnit>>.DynBridgeClazzJVMBridgeBase<Enum<TimeUnit>>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
TimeUnit()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public TimeUnit()
TimeUnit(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public TimeUnit(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
DAYS
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/TimeUnit.html#DAYS
public static TimeUnit DAYS { get; }
Property Value
HOURS
public static TimeUnit HOURS { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
MICROSECONDS
public static TimeUnit MICROSECONDS { get; }
Property Value
MILLISECONDS
public static TimeUnit MILLISECONDS { get; }
Property Value
MINUTES
public static TimeUnit MINUTES { get; }
Property Value
NANOSECONDS
public static TimeUnit NANOSECONDS { get; }
Property Value
SECONDS
public static TimeUnit SECONDS { get; }
Property Value
Methods
Convert(Duration)
public long Convert(Duration arg0)
Parameters
Returns
Convert(long, TimeUnit)
public long Convert(long arg0, TimeUnit arg1)
Parameters
Returns
Of(ChronoUnit)
public static TimeUnit Of(ChronoUnit arg0)
Parameters
arg0
ChronoUnit
Returns
Sleep(long)
public void Sleep(long arg0)
Parameters
Exceptions
TimedJoin(Thread, long)
public void TimedJoin(Thread arg0, long arg1)
Parameters
Exceptions
TimedWait(object, long)
public void TimedWait(object arg0, long arg1)
Parameters
Exceptions
ToChronoUnit()
public ChronoUnit ToChronoUnit()
Returns
ToDays(long)
public long ToDays(long arg0)
Parameters
Returns
ToHours(long)
public long ToHours(long arg0)
Parameters
Returns
ToMicros(long)
public long ToMicros(long arg0)
Parameters
Returns
ToMillis(long)
public long ToMillis(long arg0)
Parameters
Returns
ToMinutes(long)
public long ToMinutes(long arg0)
Parameters
Returns
ToNanos(long)
public long ToNanos(long arg0)
Parameters
Returns
ToSeconds(long)
public long ToSeconds(long arg0)
Parameters
Returns
ValueOf(String)
public static TimeUnit ValueOf(String arg0)
Parameters
Returns
Values()
public static TimeUnit[] Values()