Table of Contents

Class Period

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

Period()

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

public Period()

Period(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 Period(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

Chronology

public Chronology Chronology { get; }

Property Value

Chronology

Days

public int Days { get; }

Property Value

int

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

Months

public int Months { get; }

Property Value

int

Units

public List<TemporalUnit> Units { get; }

Property Value

List<TemporalUnit>

Years

public int Years { get; }

Property Value

int

ZERO

public static Period ZERO { get; }

Property Value

Period

Methods

AddTo(Temporal)

public Temporal AddTo(Temporal arg0)

Parameters

arg0 Temporal

Temporal

Returns

Temporal

Temporal

Between(LocalDate, LocalDate)

public static Period Between(LocalDate arg0, LocalDate arg1)

Parameters

arg0 LocalDate

LocalDate

arg1 LocalDate

LocalDate

Returns

Period

Period

From(TemporalAmount)

public static Period From(TemporalAmount arg0)

Parameters

arg0 TemporalAmount

TemporalAmount

Returns

Period

Period

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

MinusDays(long)

public Period MinusDays(long arg0)

Parameters

arg0 long

long

Returns

Period

Period

MinusMonths(long)

public Period MinusMonths(long arg0)

Parameters

arg0 long

long

Returns

Period

Period

MinusYears(long)

public Period MinusYears(long arg0)

Parameters

arg0 long

long

Returns

Period

Period

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

Of(int, int, int)

public static Period Of(int arg0, int arg1, int arg2)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

Returns

Period

Period

OfDays(int)

public static Period OfDays(int arg0)

Parameters

arg0 int

int

Returns

Period

Period

OfMonths(int)

public static Period OfMonths(int arg0)

Parameters

arg0 int

int

Returns

Period

Period

OfWeeks(int)

public static Period OfWeeks(int arg0)

Parameters

arg0 int

int

Returns

Period

Period

OfYears(int)

public static Period OfYears(int arg0)

Parameters

arg0 int

int

Returns

Period

Period

Parse(CharSequence)

public static Period Parse(CharSequence arg0)

Parameters

arg0 CharSequence

CharSequence

Returns

Period

Period

Plus(TemporalAmount)

public ChronoPeriod Plus(TemporalAmount arg0)

Parameters

arg0 TemporalAmount

TemporalAmount

Returns

ChronoPeriod

ChronoPeriod

PlusDays(long)

public Period PlusDays(long arg0)

Parameters

arg0 long

long

Returns

Period

Period

PlusMonths(long)

public Period PlusMonths(long arg0)

Parameters

arg0 long

long

Returns

Period

Period

PlusYears(long)

public Period PlusYears(long arg0)

Parameters

arg0 long

long

Returns

Period

Period

SubtractFrom(Temporal)

public Temporal SubtractFrom(Temporal arg0)

Parameters

arg0 Temporal

Temporal

Returns

Temporal

Temporal

ToTotalMonths()

public long ToTotalMonths()

Returns

long

long

WithDays(int)

public Period WithDays(int arg0)

Parameters

arg0 int

int

Returns

Period

Period

WithMonths(int)

public Period WithMonths(int arg0)

Parameters

arg0 int

int

Returns

Period

Period

WithYears(int)

public Period WithYears(int arg0)

Parameters

arg0 int

int

Returns

Period

Period

Operators

implicit operator Serializable(Period)

Converter from Period to Serializable

public static implicit operator Serializable(Period t)

Parameters

t Period

Returns

Serializable

implicit operator ChronoPeriod(Period)

Converter from Period to ChronoPeriod

public static implicit operator ChronoPeriod(Period t)

Parameters

t Period

Returns

ChronoPeriod