Table of Contents

Class ChronoUnit

Namespace
Java.Time.Temporal
Assembly
MASES.JNet.dll
public class ChronoUnit : Enum<ChronoUnit>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Enum<ChronoUnit>>
ChronoUnit
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Enum<ChronoUnit>>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Enum<ChronoUnit>>.IsAssignableFrom<T>()
JVMBridgeBase<Enum<ChronoUnit>>.Execute<T>(params T[])
JVMBridgeBase<Enum<ChronoUnit>>.DynBridgeClazz
JVMBridgeBase<Enum<ChronoUnit>>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.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

public override string BridgeClassName { get; }

Property Value

string

CENTURIES

public static ChronoUnit CENTURIES { get; }

Property Value

ChronoUnit

DAYS

public static ChronoUnit DAYS { get; }

Property Value

ChronoUnit

DECADES

public static ChronoUnit DECADES { get; }

Property Value

ChronoUnit

Duration

public Duration Duration { get; }

Property Value

Duration

ERAS

public static ChronoUnit ERAS { get; }

Property Value

ChronoUnit

FOREVER

public static ChronoUnit FOREVER { get; }

Property Value

ChronoUnit

HALF_DAYS

public static ChronoUnit HALF_DAYS { get; }

Property Value

ChronoUnit

HOURS

public static ChronoUnit HOURS { get; }

Property Value

ChronoUnit

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

MICROS

public static ChronoUnit MICROS { get; }

Property Value

ChronoUnit

MILLENNIA

public static ChronoUnit MILLENNIA { get; }

Property Value

ChronoUnit

MILLIS

public static ChronoUnit MILLIS { get; }

Property Value

ChronoUnit

MINUTES

public static ChronoUnit MINUTES { get; }

Property Value

ChronoUnit

MONTHS

public static ChronoUnit MONTHS { get; }

Property Value

ChronoUnit

NANOS

public static ChronoUnit NANOS { get; }

Property Value

ChronoUnit

SECONDS

public static ChronoUnit SECONDS { get; }

Property Value

ChronoUnit

WEEKS

public static ChronoUnit WEEKS { get; }

Property Value

ChronoUnit

YEARS

public static ChronoUnit YEARS { get; }

Property Value

ChronoUnit

Methods

AddTo<R>(R, long)

public R AddTo<R>(R arg0, long arg1) where R : ITemporal, new()

Parameters

arg0 R

R

arg1 long

long

Returns

R

R

Type Parameters

R

ITemporal

Between(Temporal, Temporal)

public long Between(Temporal arg0, Temporal arg1)

Parameters

arg0 Temporal

Temporal

arg1 Temporal

Temporal

Returns

long

long

IsDateBased()

public bool IsDateBased()

Returns

bool

bool

IsDurationEstimated()

public bool IsDurationEstimated()

Returns

bool

bool

IsSupportedBy(Temporal)

public bool IsSupportedBy(Temporal arg0)

Parameters

arg0 Temporal

Temporal

Returns

bool

bool

IsTimeBased()

public bool IsTimeBased()

Returns

bool

bool

ValueOf(String)

public static ChronoUnit ValueOf(String arg0)

Parameters

arg0 String

String

Returns

ChronoUnit

ChronoUnit

Values()

public static ChronoUnit[] Values()

Returns

ChronoUnit[]

ChronoUnit

Operators

implicit operator TemporalUnit(ChronoUnit)

Converter from ChronoUnit to TemporalUnit

public static implicit operator TemporalUnit(ChronoUnit t)

Parameters

t ChronoUnit

Returns

TemporalUnit