Package | Description |
---|---|
org.apache.wiki.preferences |
Preferences storage.
|
Modifier and Type | Method and Description |
---|---|
static Preferences.TimeFormat |
Preferences.TimeFormat.valueOf(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.
|
Modifier and Type | Method and Description |
---|---|
static SimpleDateFormat |
Preferences.getDateFormat(WikiContext context,
Preferences.TimeFormat tf)
Get SimpleTimeFormat according to user browser locale and preferred time
formats.
|
static String |
Preferences.renderDate(WikiContext context,
Date date,
Preferences.TimeFormat tf)
A simple helper function to render a date based on the user preferences.
|
Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.