AndroidHttpClient.ParseDate(String) Method

Definition

Returns the date of the given HTTP date string.

[Android.Runtime.Register("parseDate", "(Ljava/lang/String;)J", "")]
public static long ParseDate (string? dateString);
[<Android.Runtime.Register("parseDate", "(Ljava/lang/String;)J", "")>]
static member ParseDate : string -> int64

Parameters

dateString
String

Returns

Attributes

Exceptions

if dateString is not a date or of an unsupported format.

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