Instant.Max Property

Definition

The maximum supported Instant, '1000000000-12-31T23:59:59.999999999Z'.

[Android.Runtime.Register("MAX", ApiSince=26)]
public static Java.Time.Instant? Max { get; }
[<Android.Runtime.Register("MAX", ApiSince=26)>]
static member Max : Java.Time.Instant

Property Value

Attributes

Remarks

The maximum supported Instant, '1000000000-12-31T23:59:59.999999999Z'. This could be used by an application as a "far future" instant. This is one year later than the maximum LocalDateTime. This provides sufficient values to handle the range of ZoneOffset which affect the instant in addition to the local date-time. The value is also chosen such that the value of the year fits in an int.

Android reference for java.time.Instant.MAX.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to