public class JodaDateSwap
extends org.apache.juneau.transform.StringSwap<org.joda.time.DateTime>
DateTime to Strings.| Constructor and Description |
|---|
JodaDateSwap()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
swap(org.apache.juneau.BeanSession session,
org.joda.time.DateTime o) |
org.joda.time.DateTime |
unswap(org.apache.juneau.BeanSession session,
String f,
org.apache.juneau.ClassMeta<?> hint) |
public String swap(org.apache.juneau.BeanSession session, org.joda.time.DateTime o)
swap in class org.apache.juneau.transform.StringSwap<org.joda.time.DateTime>public org.joda.time.DateTime unswap(org.apache.juneau.BeanSession session,
String f,
org.apache.juneau.ClassMeta<?> hint)
throws org.apache.juneau.parser.ParseException
unswap in class org.apache.juneau.transform.StringSwap<org.joda.time.DateTime>org.apache.juneau.parser.ParseExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.