Table of Contents

Class Year

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

Year()

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

public Year()

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

MAX_VALUE

public static int MAX_VALUE { get; }

Property Value

int

MIN_VALUE

public static int MIN_VALUE { get; }

Property Value

int

Value

public int Value { 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

AtMonth(Month)

public YearMonth AtMonth(Month arg0)

Parameters

arg0 Month

Month

Returns

YearMonth

YearMonth

AtMonth(int)

public YearMonth AtMonth(int arg0)

Parameters

arg0 int

int

Returns

YearMonth

YearMonth

AtMonthDay(MonthDay)

public LocalDate AtMonthDay(MonthDay arg0)

Parameters

arg0 MonthDay

MonthDay

Returns

LocalDate

LocalDate

CompareTo(Year)

public int CompareTo(Year arg0)

Parameters

arg0 Year

Year

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 Year From(TemporalAccessor arg0)

Parameters

arg0 TemporalAccessor

TemporalAccessor

Returns

Year

Year

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(Year)

public bool IsAfter(Year arg0)

Parameters

arg0 Year

Year

Returns

bool

bool

IsBefore(Year)

public bool IsBefore(Year arg0)

Parameters

arg0 Year

Year

Returns

bool

bool

IsLeap()

public bool IsLeap()

Returns

bool

bool

IsLeap(long)

public static bool IsLeap(long arg0)

Parameters

arg0 long

long

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

IsValidMonthDay(MonthDay)

public bool IsValidMonthDay(MonthDay arg0)

Parameters

arg0 MonthDay

MonthDay

Returns

bool

bool

Length()

public int Length()

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

MinusYears(long)

public Year MinusYears(long arg0)

Parameters

arg0 long

long

Returns

Year

Year

Now()

public static Year Now()

Returns

Year

Year

Now(Clock)

public static Year Now(Clock arg0)

Parameters

arg0 Clock

Clock

Returns

Year

Year

Now(ZoneId)

public static Year Now(ZoneId arg0)

Parameters

arg0 ZoneId

ZoneId

Returns

Year

Year

Of(int)

public static Year Of(int arg0)

Parameters

arg0 int

int

Returns

Year

Year

Parse(CharSequence)

public static Year Parse(CharSequence arg0)

Parameters

arg0 CharSequence

CharSequence

Returns

Year

Year

Parse(CharSequence, DateTimeFormatter)

public static Year Parse(CharSequence arg0, DateTimeFormatter arg1)

Parameters

arg0 CharSequence

CharSequence

arg1 DateTimeFormatter

DateTimeFormatter

Returns

Year

Year

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

PlusYears(long)

public Year PlusYears(long arg0)

Parameters

arg0 long

long

Returns

Year

Year

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

Operators

implicit operator Serializable(Year)

Converter from Year to Serializable

public static implicit operator Serializable(Year t)

Parameters

t Year

Returns

Serializable

implicit operator Comparable(Year)

Converter from Year to Comparable

public static implicit operator Comparable(Year t)

Parameters

t Year

Returns

Comparable

implicit operator Temporal(Year)

Converter from Year to Temporal

public static implicit operator Temporal(Year t)

Parameters

t Year

Returns

Temporal

implicit operator TemporalAdjuster(Year)

Converter from Year to TemporalAdjuster

public static implicit operator TemporalAdjuster(Year t)

Parameters

t Year

Returns

TemporalAdjuster