Android.Text.Format.DateUtils.GetAMPMString Method
Return a localized string for AM or PM.

Syntax

[Android.Runtime.Register("getAMPMString", "(I)Ljava/lang/String;", "")]
[System.Obsolete("deprecated")]
public static string GetAMPMString (int ampm)

Parameters

ampm
Either Java.Util.Calendar.Am or Java.Util.Calendar.Pm.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IndexOutOfBoundsExceptionif the ampm is out of bounds.

Remarks

Return a localized string for AM or PM.

[Android Documentation]

Requirements

Namespace: Android.Text.Format
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3