Partager via


Time.Format3339(Boolean) Method

Definition

Return a string in the RFC 3339 format.

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

Parameters

allDay
Boolean

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