Class Period
public class Period : JVMBridgeBase<Period>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Period>Period
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Period>.IsAssignableFrom(IJavaType)JVMBridgeBase<Period>.IsAssignableFrom<T>()JVMBridgeBase<Period>.Execute<T>(params T[])JVMBridgeBase<Period>.DynBridgeClazzJVMBridgeBase<Period>.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
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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
Chronology
public Chronology Chronology { get; }
Property Value
Days
public int Days { 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
Months
public int Months { get; }
Property Value
Units
public List<TemporalUnit> Units { get; }
Property Value
Years
public int Years { get; }
Property Value
ZERO
public static Period ZERO { get; }
Property Value
Methods
AddTo(Temporal)
public Temporal AddTo(Temporal arg0)
Parameters
Returns
Between(LocalDate, LocalDate)
public static Period Between(LocalDate arg0, LocalDate arg1)
Parameters
Returns
From(TemporalAmount)
public static Period From(TemporalAmount arg0)
Parameters
Returns
Get(TemporalUnit)
public long Get(TemporalUnit arg0)
Parameters
arg0
TemporalUnit
Returns
IsNegative()
public bool IsNegative()
Returns
IsZero()
public bool IsZero()
Returns
Minus(TemporalAmount)
public ChronoPeriod Minus(TemporalAmount arg0)
Parameters
Returns
MinusDays(long)
public Period MinusDays(long arg0)
Parameters
Returns
MinusMonths(long)
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Period.html#minusMonths(long)
public Period MinusMonths(long arg0)
Parameters
Returns
MinusYears(long)
public Period MinusYears(long arg0)
Parameters
Returns
MultipliedBy(int)
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Period.html#multipliedBy(int)
public ChronoPeriod MultipliedBy(int arg0)
Parameters
Returns
Negated()
public ChronoPeriod Negated()
Returns
Normalized()
public ChronoPeriod Normalized()
Returns
Of(int, int, int)
public static Period Of(int arg0, int arg1, int arg2)
Parameters
Returns
OfDays(int)
public static Period OfDays(int arg0)
Parameters
Returns
OfMonths(int)
public static Period OfMonths(int arg0)
Parameters
Returns
OfWeeks(int)
public static Period OfWeeks(int arg0)
Parameters
Returns
OfYears(int)
public static Period OfYears(int arg0)
Parameters
Returns
Parse(CharSequence)
public static Period Parse(CharSequence arg0)
Parameters
arg0
CharSequence
Returns
Plus(TemporalAmount)
public ChronoPeriod Plus(TemporalAmount arg0)
Parameters
Returns
PlusDays(long)
public Period PlusDays(long arg0)
Parameters
Returns
PlusMonths(long)
public Period PlusMonths(long arg0)
Parameters
Returns
PlusYears(long)
public Period PlusYears(long arg0)
Parameters
Returns
SubtractFrom(Temporal)
public Temporal SubtractFrom(Temporal arg0)
Parameters
Returns
ToTotalMonths()
public long ToTotalMonths()
Returns
WithDays(int)
public Period WithDays(int arg0)
Parameters
Returns
WithMonths(int)
public Period WithMonths(int arg0)
Parameters
Returns
WithYears(int)
public Period WithYears(int arg0)
Parameters
Returns
Operators
implicit operator Serializable(Period)
Converter from Period to Serializable
public static implicit operator Serializable(Period t)
Parameters
t
Period
Returns
implicit operator ChronoPeriod(Period)
Converter from Period to ChronoPeriod
public static implicit operator ChronoPeriod(Period t)
Parameters
t
Period