public class AnnotationHelper
extends java.lang.Object
| Constructor and Description |
|---|
AnnotationHelper() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Date |
getDateAs(java.lang.annotation.Annotation[] annotations,
java.lang.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(java.lang.String[] langs) |
public static java.util.Date getDateAs(java.lang.annotation.Annotation[] annotations,
java.lang.String value)
throws java.text.ParseException
annotations - Annotations associated with on the datevalue - The formated datejava.text.ParseException - if problem occurred during parsing the datepublic static play.data.binding.AnnotationHelper.Tuple getLocale(java.lang.String[] langs)
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly