Android.Text.Format.DateUtils: Method Members

The methods of Android.Text.Format.DateUtils are listed below. For a list of all members, see the DateUtils Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

static
FormatDateRange(Android.Content.Context, long, long, FormatStyleFlags) : string
Formats a date or a time range according to the local conventions.
static
FormatDateRange(Android.Content.Context, Java.Util.Formatter, long, long, FormatStyleFlags) : Java.Util.Formatter
Formats a date or a time range according to the local conventions.
static
FormatDateRange(Android.Content.Context, Java.Util.Formatter, long, long, FormatStyleFlags, string) : Java.Util.Formatter
Formats a date or a time range according to the local conventions.
static
FormatDateTime(Android.Content.Context, long, FormatStyleFlags) : string
Formats a date or a time according to the local conventions.
static
FormatElapsedTime(long) : string
Formats an elapsed time in the form "MM:SS" or "H:MM:SS" for display on the call-in-progress screen.
static
FormatElapsedTime(Java.Lang.StringBuilder, long) : string
Formats an elapsed time in a format like "MM:SS" or "H:MM:SS" (using a form suited to the current locale), similar to that used on the call-in-progress screen.
static
FormatSameDayTime(long, long, AbbreviationLength, AbbreviationLength) : string
Documentation for this section has not yet been entered.
static
FormatSameDayTimeFormatted(long, long, AbbreviationLength, AbbreviationLength) : Java.Lang.ICharSequence
Format a date / time such that if the then is on the same day as now, it shows just the time and if it's a different day, it shows just the date.
static
GetAMPMString(int) : string
Return a localized string for AM or PM.
static
GetDayOfWeekString(int, AbbreviationLength) : string
Return a string for the day of the week.
static
GetMonthString(int, AbbreviationLength) : string
Return a localized string for the month of the year.
static
GetRelativeDateTimeString(Android.Content.Context, long, long, long, FormatStyleFlags) : string
Documentation for this section has not yet been entered.
static
GetRelativeDateTimeStringFormatted(Android.Content.Context, long, long, long, FormatStyleFlags) : Java.Lang.ICharSequence
Return string describing the elapsed time since startTime formatted like "[relative time/date], [time]".
static
GetRelativeTimeSpanString(long) : string
Documentation for this section has not yet been entered.
static
GetRelativeTimeSpanString(Android.Content.Context, long) : string
Documentation for this section has not yet been entered.
static
GetRelativeTimeSpanString(Android.Content.Context, long, bool) : string
Documentation for this section has not yet been entered.
static
GetRelativeTimeSpanString(long, long, long) : string
Documentation for this section has not yet been entered.
static
GetRelativeTimeSpanString(long, long, long, FormatStyleFlags) : string
Documentation for this section has not yet been entered.
static
GetRelativeTimeSpanStringFormatted(long) : Java.Lang.ICharSequence
Returns a string describing the elapsed time since startTime.
static
GetRelativeTimeSpanStringFormatted(Android.Content.Context, long) : Java.Lang.ICharSequence
Convenience function to return relative time string without preposition.
static
GetRelativeTimeSpanStringFormatted(Android.Content.Context, long, bool) : Java.Lang.ICharSequence
static
GetRelativeTimeSpanStringFormatted(long, long, long) : Java.Lang.ICharSequence
Returns a string describing 'time' as a time relative to 'now'.
static
GetRelativeTimeSpanStringFormatted(long, long, long, FormatStyleFlags) : Java.Lang.ICharSequence
Returns a string describing 'time' as a time relative to 'now'.
static
IsToday(long) : bool