ChronoField.AmpmOfDay Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The am-pm-of-day.
[Android.Runtime.Register("AMPM_OF_DAY", ApiSince=26)]
public static Java.Time.Temporal.ChronoField? AmpmOfDay { get; }
[<Android.Runtime.Register("AMPM_OF_DAY", ApiSince=26)>]
static member AmpmOfDay : Java.Time.Temporal.ChronoField
Property Value
- Attributes
Remarks
The am-pm-of-day. This counts the AM/PM within the day, from 0 (AM) to 1 (PM). This field has the same meaning for all calendar systems. When parsing this field it behaves equivalent to the following: The value is validated from 0 to 1 in strict and smart mode. In lenient mode the value is not validated. It is combined with HOUR_OF_AMPM (if not present, it defaults to '6') to form HOUR_OF_DAY by multiplying the AMPM_OF_DAY value by 12.
Java reference for java.time.temporal.ChronoField.AMPM_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.