Class YearMonth
public class YearMonth : JVMBridgeBase<YearMonth>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<YearMonth>YearMonth
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<YearMonth>.IsAssignableFrom(IJavaType)JVMBridgeBase<YearMonth>.IsAssignableFrom<T>()JVMBridgeBase<YearMonth>.Execute<T>(params T[])JVMBridgeBase<YearMonth>.DynBridgeClazzJVMBridgeBase<YearMonth>.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
YearMonth()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public YearMonth()
YearMonth(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 YearMonth(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
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
Month
public Month Month { get; }
Property Value
MonthValue
public int MonthValue { get; }
Property Value
Year
public int Year { get; }
Property Value
Methods
AdjustInto(Temporal)
public Temporal AdjustInto(Temporal arg0)
Parameters
Returns
AtDay(int)
public LocalDate AtDay(int arg0)
Parameters
Returns
AtEndOfMonth()
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/YearMonth.html#atEndOfMonth()
public LocalDate AtEndOfMonth()
Returns
CompareTo(YearMonth)
public int CompareTo(YearMonth arg0)
Parameters
Returns
CompareTo(object)
public int CompareTo(object arg0)
Parameters
Returns
Format(DateTimeFormatter)
public String Format(DateTimeFormatter arg0)
Parameters
Returns
From(TemporalAccessor)
public static YearMonth From(TemporalAccessor arg0)
Parameters
Returns
Get(TemporalField)
public int Get(TemporalField arg0)
Parameters
Returns
GetLong(TemporalField)
public long GetLong(TemporalField arg0)
Parameters
Returns
IsAfter(YearMonth)
public bool IsAfter(YearMonth arg0)
Parameters
Returns
IsBefore(YearMonth)
public bool IsBefore(YearMonth arg0)
Parameters
Returns
IsLeapYear()
public bool IsLeapYear()
Returns
IsSupported(TemporalField)
public bool IsSupported(TemporalField arg0)
Parameters
Returns
IsSupported(TemporalUnit)
public bool IsSupported(TemporalUnit arg0)
Parameters
arg0
TemporalUnit
Returns
IsValidDay(int)
public bool IsValidDay(int arg0)
Parameters
Returns
LengthOfMonth()
public int LengthOfMonth()
Returns
LengthOfYear()
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/YearMonth.html#lengthOfYear()
public int LengthOfYear()
Returns
Minus(TemporalAmount)
public Temporal Minus(TemporalAmount arg0)
Parameters
Returns
Minus(long, TemporalUnit)
public Temporal Minus(long arg0, TemporalUnit arg1)
Parameters
arg0
longarg1
TemporalUnit
Returns
MinusMonths(long)
public YearMonth MinusMonths(long arg0)
Parameters
Returns
MinusYears(long)
public YearMonth MinusYears(long arg0)
Parameters
Returns
Now()
public static YearMonth Now()
Returns
Now(Clock)
public static YearMonth Now(Clock arg0)
Parameters
Returns
Now(ZoneId)
public static YearMonth Now(ZoneId arg0)
Parameters
Returns
Of(int, Month)
public static YearMonth Of(int arg0, Month arg1)
Parameters
Returns
Of(int, int)
public static YearMonth Of(int arg0, int arg1)
Parameters
Returns
Parse(CharSequence)
public static YearMonth Parse(CharSequence arg0)
Parameters
arg0
CharSequence
Returns
Parse(CharSequence, DateTimeFormatter)
public static YearMonth Parse(CharSequence arg0, DateTimeFormatter arg1)
Parameters
Returns
Plus(TemporalAmount)
public Temporal Plus(TemporalAmount arg0)
Parameters
Returns
Plus(long, TemporalUnit)
public Temporal Plus(long arg0, TemporalUnit arg1)
Parameters
arg0
longarg1
TemporalUnit
Returns
PlusMonths(long)
public YearMonth PlusMonths(long arg0)
Parameters
Returns
PlusYears(long)
public YearMonth PlusYears(long arg0)
Parameters
Returns
Query<R>(TemporalQuery<R>)
public R Query<R>(TemporalQuery<R> arg0)
Parameters
arg0
TemporalQuery<R>
Returns
- R
R
Type Parameters
R
Range(TemporalField)
public ValueRange Range(TemporalField arg0)
Parameters
Returns
Until(Temporal, TemporalUnit)
public long Until(Temporal arg0, TemporalUnit arg1)
Parameters
arg0
Temporalarg1
TemporalUnit
Returns
With(TemporalAdjuster)
public Temporal With(TemporalAdjuster arg0)
Parameters
Returns
With(TemporalField, long)
public Temporal With(TemporalField arg0, long arg1)
Parameters
arg0
TemporalFieldarg1
long
Returns
WithMonth(int)
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/YearMonth.html#withMonth(int)
public YearMonth WithMonth(int arg0)
Parameters
Returns
WithYear(int)
public YearMonth WithYear(int arg0)
Parameters
Returns
Operators
implicit operator Serializable(YearMonth)
Converter from YearMonth to Serializable
public static implicit operator Serializable(YearMonth t)
Parameters
Returns
implicit operator Comparable(YearMonth)
Converter from YearMonth to Comparable
public static implicit operator Comparable(YearMonth t)
Parameters
Returns
implicit operator Temporal(YearMonth)
public static implicit operator Temporal(YearMonth t)
Parameters
Returns
implicit operator TemporalAdjuster(YearMonth)
Converter from YearMonth to TemporalAdjuster
public static implicit operator TemporalAdjuster(YearMonth t)