Table of Contents

Class ChronoPeriod

Namespace
Java.Time.Chrono
Assembly
MASES.JNet.dll
public class ChronoPeriod : TemporalAmount, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IChronoPeriod, ITemporalAmount
Inheritance
JVMBridgeBase
JVMBridgeBase<TemporalAmount>
ChronoPeriod
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<TemporalAmount>.IsAssignableFrom(IJavaType)
JVMBridgeBase<TemporalAmount>.IsAssignableFrom<T>()
JVMBridgeBase<TemporalAmount>.Execute<T>(params T[])
JVMBridgeBase<TemporalAmount>.DynBridgeClazz
JVMBridgeBase<TemporalAmount>.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

ChronoPeriod()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("ChronoPeriod class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ChronoPeriod()

ChronoPeriod(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

[Obsolete("ChronoPeriod class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ChronoPeriod(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

Chronology

public Chronology Chronology { get; }

Property Value

Chronology

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

Units

public List<TemporalUnit> Units { get; }

Property Value

List<TemporalUnit>

Methods

AddTo(Temporal)

public Temporal AddTo(Temporal arg0)

Parameters

arg0 Temporal

Temporal

Returns

Temporal

Temporal

Between(ChronoLocalDate, ChronoLocalDate)

public static ChronoPeriod Between(ChronoLocalDate arg0, ChronoLocalDate arg1)

Parameters

arg0 ChronoLocalDate

ChronoLocalDate

arg1 ChronoLocalDate

ChronoLocalDate

Returns

ChronoPeriod

ChronoPeriod

Get(TemporalUnit)

public long Get(TemporalUnit arg0)

Parameters

arg0 TemporalUnit

TemporalUnit

Returns

long

long

IsNegative()

public bool IsNegative()

Returns

bool

bool

IsZero()

public bool IsZero()

Returns

bool

bool

Minus(TemporalAmount)

public ChronoPeriod Minus(TemporalAmount arg0)

Parameters

arg0 TemporalAmount

TemporalAmount

Returns

ChronoPeriod

ChronoPeriod

MultipliedBy(int)

public ChronoPeriod MultipliedBy(int arg0)

Parameters

arg0 int

int

Returns

ChronoPeriod

ChronoPeriod

Negated()

public ChronoPeriod Negated()

Returns

ChronoPeriod

ChronoPeriod

Normalized()

public ChronoPeriod Normalized()

Returns

ChronoPeriod

ChronoPeriod

Plus(TemporalAmount)

public ChronoPeriod Plus(TemporalAmount arg0)

Parameters

arg0 TemporalAmount

TemporalAmount

Returns

ChronoPeriod

ChronoPeriod

SubtractFrom(Temporal)

public Temporal SubtractFrom(Temporal arg0)

Parameters

arg0 Temporal

Temporal

Returns

Temporal

Temporal