Class ChronoUnit
public class ChronoUnit : Enum<ChronoUnit>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseChronoUnit
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Enum<ChronoUnit>>.IsAssignableFrom(IJavaType)JVMBridgeBase<Enum<ChronoUnit>>.IsAssignableFrom<T>()JVMBridgeBase<Enum<ChronoUnit>>.Execute<T>(params T[])JVMBridgeBase<Enum<ChronoUnit>>.DynBridgeClazzJVMBridgeBase<Enum<ChronoUnit>>.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
ChronoUnit()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public ChronoUnit()
ChronoUnit(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 ChronoUnit(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
CENTURIES
public static ChronoUnit CENTURIES { get; }
Property Value
DAYS
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/temporal/ChronoUnit.html#DAYS
public static ChronoUnit DAYS { get; }
Property Value
DECADES
public static ChronoUnit DECADES { get; }
Property Value
Duration
public Duration Duration { get; }
Property Value
ERAS
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/temporal/ChronoUnit.html#ERAS
public static ChronoUnit ERAS { get; }
Property Value
FOREVER
public static ChronoUnit FOREVER { get; }
Property Value
HALF_DAYS
public static ChronoUnit HALF_DAYS { get; }
Property Value
HOURS
public static ChronoUnit 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
MICROS
public static ChronoUnit MICROS { get; }
Property Value
MILLENNIA
public static ChronoUnit MILLENNIA { get; }
Property Value
MILLIS
public static ChronoUnit MILLIS { get; }
Property Value
MINUTES
public static ChronoUnit MINUTES { get; }
Property Value
MONTHS
public static ChronoUnit MONTHS { get; }
Property Value
NANOS
public static ChronoUnit NANOS { get; }
Property Value
SECONDS
public static ChronoUnit SECONDS { get; }
Property Value
WEEKS
public static ChronoUnit WEEKS { get; }
Property Value
YEARS
public static ChronoUnit YEARS { get; }
Property Value
Methods
AddTo<R>(R, long)
public R AddTo<R>(R arg0, long arg1) where R : ITemporal, new()
Parameters
Returns
- R
R
Type Parameters
Between(Temporal, Temporal)
public long Between(Temporal arg0, Temporal arg1)
Parameters
Returns
IsDateBased()
public bool IsDateBased()
Returns
IsDurationEstimated()
public bool IsDurationEstimated()
Returns
IsSupportedBy(Temporal)
public bool IsSupportedBy(Temporal arg0)
Parameters
Returns
IsTimeBased()
public bool IsTimeBased()
Returns
ValueOf(String)
public static ChronoUnit ValueOf(String arg0)
Parameters
Returns
Values()
public static ChronoUnit[] Values()
Returns
Operators
implicit operator TemporalUnit(ChronoUnit)
Converter from ChronoUnit to TemporalUnit
public static implicit operator TemporalUnit(ChronoUnit t)