|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgriffon.core.resources.formatters.AbstractFormatter
griffon.plugins.jodatime.formatters.DateTimeFormatter
public class DateTimeFormatter extends AbstractFormatter
| Nested Class Summary | |
|---|---|
enum |
DateTimeFormatter.Pattern
|
| Field Summary | |
|---|---|
private org.joda.time.format.DateTimeFormatter |
dateTimeFormatter
|
| Constructor Summary | |
DateTimeFormatter()
|
|
DateTimeFormatter(String pattern)
|
|
DateTimeFormatter(DateTimeFormatter.Pattern pattern)
|
|
| Method Summary | |
|---|---|
String
|
format(org.joda.time.DateTime dateTime)
|
org.joda.time.DateTime
|
parse(String str)
|
DateTimeFormatter
|
valueOf(String name)
Returns the enum constant of this type with the specified name. |
DateTimeFormatter[]
|
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class AbstractFormatter | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, format, parse |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Field Detail |
|---|
private final org.joda.time.format.DateTimeFormatter dateTimeFormatter
| Constructor Detail |
|---|
public DateTimeFormatter()
public DateTimeFormatter(String pattern)
public DateTimeFormatter(DateTimeFormatter.Pattern pattern)
| Method Detail |
|---|
public String format(org.joda.time.DateTime dateTime)
public org.joda.time.DateTime parse(String str)
DateTimeFormatter valueOf(String name)
DateTimeFormatter[] values()
Groovy Documentation