Table of Contents

Class YearMonth

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

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

public override string BridgeClassName { get; }

Property Value

string

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

Month

public Month Month { get; }

Property Value

Month

MonthValue

public int MonthValue { get; }

Property Value

int

Year

public int Year { get; }

Property Value

int

Methods

AdjustInto(Temporal)

public Temporal AdjustInto(Temporal arg0)

Parameters

arg0 Temporal

Temporal

Returns

Temporal

Temporal

AtDay(int)

public LocalDate AtDay(int arg0)

Parameters

arg0 int

int

Returns

LocalDate

LocalDate

AtEndOfMonth()

public LocalDate AtEndOfMonth()

Returns

LocalDate

LocalDate

CompareTo(YearMonth)

public int CompareTo(YearMonth arg0)

Parameters

arg0 YearMonth

YearMonth

Returns

int

int

CompareTo(object)

public int CompareTo(object arg0)

Parameters

arg0 object

object

Returns

int

int

Format(DateTimeFormatter)

public String Format(DateTimeFormatter arg0)

Parameters

arg0 DateTimeFormatter

DateTimeFormatter

Returns

String

String

From(TemporalAccessor)

public static YearMonth From(TemporalAccessor arg0)

Parameters

arg0 TemporalAccessor

TemporalAccessor

Returns

YearMonth

YearMonth

Get(TemporalField)

public int Get(TemporalField arg0)

Parameters

arg0 TemporalField

TemporalField

Returns

int

int

GetLong(TemporalField)

public long GetLong(TemporalField arg0)

Parameters

arg0 TemporalField

TemporalField

Returns

long

long

IsAfter(YearMonth)

public bool IsAfter(YearMonth arg0)

Parameters

arg0 YearMonth

YearMonth

Returns

bool

bool

IsBefore(YearMonth)

public bool IsBefore(YearMonth arg0)

Parameters

arg0 YearMonth

YearMonth

Returns

bool

bool

IsLeapYear()

public bool IsLeapYear()

Returns

bool

bool

IsSupported(TemporalField)

public bool IsSupported(TemporalField arg0)

Parameters

arg0 TemporalField

TemporalField

Returns

bool

bool

IsSupported(TemporalUnit)

public bool IsSupported(TemporalUnit arg0)

Parameters

arg0 TemporalUnit

TemporalUnit

Returns

bool

bool

IsValidDay(int)

public bool IsValidDay(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

LengthOfMonth()

public int LengthOfMonth()

Returns

int

int

LengthOfYear()

public int LengthOfYear()

Returns

int

int

Minus(TemporalAmount)

public Temporal Minus(TemporalAmount arg0)

Parameters

arg0 TemporalAmount

TemporalAmount

Returns

Temporal

Temporal

Minus(long, TemporalUnit)

public Temporal Minus(long arg0, TemporalUnit arg1)

Parameters

arg0 long

long

arg1 TemporalUnit

TemporalUnit

Returns

Temporal

Temporal

MinusMonths(long)

public YearMonth MinusMonths(long arg0)

Parameters

arg0 long

long

Returns

YearMonth

YearMonth

MinusYears(long)

public YearMonth MinusYears(long arg0)

Parameters

arg0 long

long

Returns

YearMonth

YearMonth

Now()

public static YearMonth Now()

Returns

YearMonth

YearMonth

Now(Clock)

public static YearMonth Now(Clock arg0)

Parameters

arg0 Clock

Clock

Returns

YearMonth

YearMonth

Now(ZoneId)

public static YearMonth Now(ZoneId arg0)

Parameters

arg0 ZoneId

ZoneId

Returns

YearMonth

YearMonth

Of(int, Month)

public static YearMonth Of(int arg0, Month arg1)

Parameters

arg0 int

int

arg1 Month

Month

Returns

YearMonth

YearMonth

Of(int, int)

public static YearMonth Of(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

YearMonth

YearMonth

Parse(CharSequence)

public static YearMonth Parse(CharSequence arg0)

Parameters

arg0 CharSequence

CharSequence

Returns

YearMonth

YearMonth

Parse(CharSequence, DateTimeFormatter)

public static YearMonth Parse(CharSequence arg0, DateTimeFormatter arg1)

Parameters

arg0 CharSequence

CharSequence

arg1 DateTimeFormatter

DateTimeFormatter

Returns

YearMonth

YearMonth

Plus(TemporalAmount)

public Temporal Plus(TemporalAmount arg0)

Parameters

arg0 TemporalAmount

TemporalAmount

Returns

Temporal

Temporal

Plus(long, TemporalUnit)

public Temporal Plus(long arg0, TemporalUnit arg1)

Parameters

arg0 long

long

arg1 TemporalUnit

TemporalUnit

Returns

Temporal

Temporal

PlusMonths(long)

public YearMonth PlusMonths(long arg0)

Parameters

arg0 long

long

Returns

YearMonth

YearMonth

PlusYears(long)

public YearMonth PlusYears(long arg0)

Parameters

arg0 long

long

Returns

YearMonth

YearMonth

Query<R>(TemporalQuery<R>)

public R Query<R>(TemporalQuery<R> arg0)

Parameters

arg0 TemporalQuery<R>

TemporalQuery

Returns

R

R

Type Parameters

R

Range(TemporalField)

public ValueRange Range(TemporalField arg0)

Parameters

arg0 TemporalField

TemporalField

Returns

ValueRange

ValueRange

Until(Temporal, TemporalUnit)

public long Until(Temporal arg0, TemporalUnit arg1)

Parameters

arg0 Temporal

Temporal

arg1 TemporalUnit

TemporalUnit

Returns

long

long

With(TemporalAdjuster)

public Temporal With(TemporalAdjuster arg0)

Parameters

arg0 TemporalAdjuster

TemporalAdjuster

Returns

Temporal

Temporal

With(TemporalField, long)

public Temporal With(TemporalField arg0, long arg1)

Parameters

arg0 TemporalField

TemporalField

arg1 long

long

Returns

Temporal

Temporal

WithMonth(int)

public YearMonth WithMonth(int arg0)

Parameters

arg0 int

int

Returns

YearMonth

YearMonth

WithYear(int)

public YearMonth WithYear(int arg0)

Parameters

arg0 int

int

Returns

YearMonth

YearMonth

Operators

implicit operator Serializable(YearMonth)

Converter from YearMonth to Serializable

public static implicit operator Serializable(YearMonth t)

Parameters

t YearMonth

Returns

Serializable

implicit operator Comparable(YearMonth)

Converter from YearMonth to Comparable

public static implicit operator Comparable(YearMonth t)

Parameters

t YearMonth

Returns

Comparable

implicit operator Temporal(YearMonth)

Converter from YearMonth to Temporal

public static implicit operator Temporal(YearMonth t)

Parameters

t YearMonth

Returns

Temporal

implicit operator TemporalAdjuster(YearMonth)

Converter from YearMonth to TemporalAdjuster

public static implicit operator TemporalAdjuster(YearMonth t)

Parameters

t YearMonth

Returns

TemporalAdjuster