Language

ChronoField.NanoOfDay Property

Definition

The nano-of-day.

[Android.Runtime.Register("NANO_OF_DAY", ApiSince=26)]
public static Java.Time.Temporal.ChronoField? NanoOfDay { get; }
[<Android.Runtime.Register("NANO_OF_DAY", ApiSince=26)>]
static member NanoOfDay : Java.Time.Temporal.ChronoField

Property Value

Attributes

Remarks

The nano-of-day. This counts the nanosecond within the day, from 0 to (24 * 60 * 60 * 1,000,000,000) - 1. This field has the same meaning for all calendar systems. This field is used to represent the nano-of-day handling any fraction of the second. Implementations of TemporalAccessor should provide a value for this field if they can return a value for SECOND_OF_DAY filling unknown precision with zero. When parsing this field it behaves equivalent to the following: The value is validated in strict and smart mode but not in lenient mode. The value is split to form NANO_OF_SECOND, SECOND_OF_MINUTE, MINUTE_OF_HOUR and HOUR_OF_DAY fields.

Java reference for java.time.temporal.ChronoField.NANO_OF_DAY.

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