Language

Time.Format3339(Boolean) Method

Definition

Caution

deprecated

Return a string in the RFC 3339 format.

[Android.Runtime.Register("format3339", "(Z)Ljava/lang/String;", "GetFormat3339_ZHandler")]
[System.Obsolete("deprecated")]
public virtual string? Format3339(bool allDay);
[<Android.Runtime.Register("format3339", "(Z)Ljava/lang/String;", "GetFormat3339_ZHandler")>]
[<System.Obsolete("deprecated")>]
abstract member Format3339 : bool -> string
override this.Format3339 : bool -> string

Parameters

allDay
Boolean

true to return only the date; false to include the time and UTC marker or numeric time-zone offset. This argument selects the output independently of the AllDay property.

Returns

string in the RFC 3339 format.

Attributes

Remarks

Return a string in the RFC 3339 format.

If allDay is true, expresses the time as Y-M-D

Otherwise, if the timezone is UTC, expresses the time as Y-M-D-T-H-M-S UTC

Otherwise the time is expressed the time as Y-M-D-T-H-M-S +- GMT

Java documentation for android.text.format.Time.format3339(boolean).

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