|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgriffon.plugins.prettify.Prettyfier
class Prettyfier extends Object
| Constructor Summary | |
Prettyfier()
|
|
| Method Summary | |
|---|---|
private static String
|
doPrettifyDate(Date date, Map options)
|
static List
|
fromPrettyTime(String string, TimeZone timezone = null)
|
static List
|
fromPrettyTimeSyntax(String string, TimeZone timezone = null)
|
private static Map
|
normalizeOptions(Map options)
|
static String
|
prettify(Date date, Map options = [:])
|
static String
|
prettify(Calendar calendar, Map options = [:])
|
static String
|
toPrettyTime(Date date, Map options = [:])
|
static String
|
toPrettyTime(Calendar calendar, Map options = [:])
|
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Constructor Detail |
|---|
Prettyfier()
| Method Detail |
|---|
private static String doPrettifyDate(Date date, Map options)
static List fromPrettyTime(String string, TimeZone timezone = null)
static List fromPrettyTimeSyntax(String string, TimeZone timezone = null)
private static Map normalizeOptions(Map options)
@Deprecated static String prettify(Date date, Map options = [:])
@Deprecated static String prettify(Calendar calendar, Map options = [:])
static String toPrettyTime(Date date, Map options = [:])
static String toPrettyTime(Calendar calendar, Map options = [:])
Groovy Documentation