| Package | Description |
|---|---|
| org.apache.wiki.preferences |
Preferences storage.
|
| Modifier and Type | Method and Description |
|---|---|
static Preferences.TimeFormat |
Preferences.TimeFormat.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Preferences.TimeFormat |
Preferences.TimeFormat.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Preferences.TimeFormat[] |
Preferences.TimeFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static Preferences.TimeFormat[] |
Preferences.TimeFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static java.text.SimpleDateFormat |
Preferences.getDateFormat(Context context,
Preferences.TimeFormat tf)
Get SimpleTimeFormat according to user browser locale and preferred time formats.
|
static java.text.SimpleDateFormat |
Preferences.getDateFormat(Context context,
Preferences.TimeFormat tf)
Get SimpleTimeFormat according to user browser locale and preferred time formats.
|
static java.lang.String |
Preferences.renderDate(Context context,
java.util.Date date,
Preferences.TimeFormat tf)
A simple helper function to render a date based on the user preferences.
|
static java.lang.String |
Preferences.renderDate(Context context,
java.util.Date date,
Preferences.TimeFormat tf)
A simple helper function to render a date based on the user preferences.
|
Copyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.