DateTimeFormatter.IsoOffsetTime Property

Definition

The ISO time formatter that formats or parses a time with an offset, such as '10:15+01:00' or '10:15:30+01:00'.

[Android.Runtime.Register("ISO_OFFSET_TIME", ApiSince=26)]
public static Java.Time.Format.DateTimeFormatter? IsoOffsetTime { get; }
[<Android.Runtime.Register("ISO_OFFSET_TIME", ApiSince=26)>]
static member IsoOffsetTime : Java.Time.Format.DateTimeFormatter

Property Value

Attributes

Remarks

The ISO time formatter that formats or parses a time with an offset, such as '10:15+01:00' or '10:15:30+01:00'.

This returns an immutable formatter capable of formatting and parsing the ISO-8601 extended offset time format. The format consists of: <ul> <li>The #ISO_LOCAL_TIME<li>The ZoneOffset#getId() offset ID. If the offset has seconds then they will be handled even though this is not part of the ISO-8601 standard. Parsing is case insensitive. </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_OFFSET_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.

Applies to