Uses of Enum Class
org.apache.wiki.preferences.Preferences.TimeFormat
Packages that use Preferences.TimeFormat
-
Uses of Preferences.TimeFormat in org.apache.wiki.preferences
Methods in org.apache.wiki.preferences that return Preferences.TimeFormatModifier and TypeMethodDescriptionstatic Preferences.TimeFormatReturns the enum constant of this class with the specified name.static Preferences.TimeFormat[]Preferences.TimeFormat.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.wiki.preferences with parameters of type Preferences.TimeFormatModifier and TypeMethodDescriptionstatic SimpleDateFormatPreferences.getDateFormat(Context context, Preferences.TimeFormat tf) Get SimpleTimeFormat according to user browser locale and preferred time formats.static StringPreferences.renderDate(Context context, Date date, Preferences.TimeFormat tf) A simple helper function to render a date based on the user preferences.