public class UtilDate extends Object
| Constructor and Description |
|---|
UtilDate() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
add(Map<String,String> map,
List<Properties> load) |
static void |
bindAliases(Map<String,String> map) |
static void |
bindDateAliases(Map<String,String> map) |
static void |
bindPatterns(Map<String,Integer> map)
Bind Jodatime method names.
|
static void |
bindTimeAliases(Map<String,String> map) |
static Pattern |
extractPattern(Set<String> set)
Get pattern for a map.
|
static <T extends Date> |
postProcess(Object value,
Object[] args,
Calendar calendar,
T result,
Pattern pattern,
Map<String,String> aliasToField,
Map<String,Integer> fieldToMethod)
Post process an object.
|
protected static void add(Map<String,String> map, List<Properties> load)
public static void bindPatterns(Map<String,Integer> map)
map - public static Pattern extractPattern(Set<String> set)
set - A set.public static <T extends Date> T postProcess(Object value, Object[] args, Calendar calendar, T result, Pattern pattern, Map<String,String> aliasToField, Map<String,Integer> fieldToMethod)
value - The value.args - The arguments.result - The result.pattern - The pattern.map - A map.Copyright © 2016. All rights reserved.