Year
MaxValue
MinValue
IsLeap
JniPeerMembers
ThresholdClass
ThresholdType
Value
AdjustInto(ITemporal)
AtDay(Int32)
AtMonth(Int32)
AtMonth(Month)
AtMonthDay(MonthDay)
CompareTo(Year)
Format(DateTimeFormatter)
From(ITemporalAccessor)
Get(ITemporalField)
GetLong(ITemporalField)
InvokeIsLeap(Int64)
IsAfter(Year)
IsBefore(Year)
IsSupported(ITemporalField)
IsSupported(ITemporalUnit)
IsValidMonthDay(MonthDay)
Length()
Minus(ITemporalAmount)
Minus(Int64, ITemporalUnit)
MinusYears(Int64)
Now()
Now(Clock)
Now(ZoneId)
Of(Int32)
Parse(ICharSequence)
Parse(String)
Parse(ICharSequence, DateTimeFormatter)
Parse(String, DateTimeFormatter)
Plus(ITemporalAmount)
Plus(Int64, ITemporalUnit)
PlusYears(Int64)
Query(ITemporalQuery)
Range(ITemporalField)
Until(ITemporal, ITemporalUnit)
With(ITemporalAdjuster)
With(ITemporalField, Int64)
net9.0-android34.0
namespace Java.Time
{
[Register("java/time/Year", ApiSince = 26, DoNotGenerateAcw = true)]
[SupportedOSPlatform("android26.0")]
public sealed class Year : Object, IJavaObject, IJavaPeerable, ISerializable, IComparable, ITemporal, ITemporalAccessor, ITemporalAdjuster, IDisposable
{
[Register("getLong", "(Ljava/time/temporal/TemporalField;)J", "", ApiSince = 26)]
[SupportedOSPlatform("android26.0")]
public long GetLong(ITemporalField? field);
}
}
.NET | 8.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0 |
Information specific to net9.0-android34.0 | |
Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API