public class AnnotationHelper extends Object
Constructor and Description |
---|
AnnotationHelper() |
Modifier and Type | Method and Description |
---|---|
static Date |
getDateAs(Annotation[] annotations,
String value)
It can be something like As(lang={"fr,de","*"}, value={"dd-MM-yyyy","MM-dd-yyyy"})
|
static play.data.binding.AnnotationHelper.Tuple |
getLocale(String[] langs) |
public static Date getDateAs(Annotation[] annotations, String value) throws ParseException
annotations
- value
- ParseException
public static play.data.binding.AnnotationHelper.Tuple getLocale(String[] langs)
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly