Språk

HttpDateGenerator.CurrentDate Property

Definition

Gets a cached HTTP date string, updating it when the system clock is more than one second ahead of the last update.

public virtual string? CurrentDate { [Android.Runtime.Register("getCurrentDate", "()Ljava/lang/String;", "GetGetCurrentDateHandler")] get; }
[<get: Android.Runtime.Register("getCurrentDate", "()Ljava/lang/String;", "GetGetCurrentDateHandler")>]
member this.CurrentDate : string

Property Value

The date formatted with EEE, dd MMM yyyy HH:mm:ss zzz, the US locale, and GMT, or null if no text has been generated. The cached text is updated when the current system time exceeds the last update time by more than 1,000 milliseconds.

Attributes

Remarks

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