Android.Net.Http.AndroidHttpClient.ParseDate Method
Returns the date of the given HTTP date string.

Syntax

[Android.Runtime.Register("parseDate", "(Ljava/lang/String;)J", "")]
public static long ParseDate (string dateString)

Parameters

dateString
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif dateString is not a date or of an unsupported format.

Remarks

Returns the date of the given HTTP date string. This method can identify and parse the date formats emitted by common HTTP servers, such as , , , and .

[Android Documentation]

Requirements

Namespace: Android.Net.Http
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8