DateTimeFormatter.IsoLocalTime 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 ISO time formatter that formats or parses a time without an offset, such as '10:15' or '10:15:30'.
[Android.Runtime.Register("ISO_LOCAL_TIME", ApiSince=26)]
public static Java.Time.Format.DateTimeFormatter? IsoLocalTime { get; }
[<Android.Runtime.Register("ISO_LOCAL_TIME", ApiSince=26)>]
static member IsoLocalTime : Java.Time.Format.DateTimeFormatter
Property Value
- Attributes
Remarks
The ISO time formatter that formats or parses a time without an offset, such as '10:15' or '10:15:30'.
This returns an immutable formatter capable of formatting and parsing the ISO-8601 extended local time format. The format consists of: <ul> <li>Two digits for the ChronoField#HOUR_OF_DAY hour-of-day
. This is pre-padded by zero to ensure two digits. <li>A colon <li>Two digits for the ChronoField#MINUTE_OF_HOUR minute-of-hour
. This is pre-padded by zero to ensure two digits. <li>If the second-of-minute is not available then the format is complete. <li>A colon <li>Two digits for the ChronoField#SECOND_OF_MINUTE second-of-minute
. This is pre-padded by zero to ensure two digits. <li>If the nano-of-second is zero or not available then the format is complete. <li>A decimal point <li>One to nine digits for the ChronoField#NANO_OF_SECOND nano-of-second
. As many digits will be output as required. </ul>
The returned formatter has no override chronology or zone. It uses the ResolverStyle#STRICT STRICT
resolver style.
Java documentation for java.time.format.DateTimeFormatter.ISO_LOCAL_TIME
.
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.