|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.specrunner.converters.core.UtilJodatime
public class UtilJodatime
Auxiliar map of units to methods in Jodatime.
| Constructor Summary | |
|---|---|
UtilJodatime()
|
|
| Method Summary | ||
|---|---|---|
static void |
bindDatePatterns(Map<String,String> map)
Bind Jodatime method names. |
|
static void |
bindTimePatterns(Map<String,String> map)
Bind time map. |
|
static
|
postProcess(Object value,
Object[] args,
T result,
Pattern pattern,
Map<String,String> aliasToField,
Map<String,String> fieldToMethod)
Post process an object. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UtilJodatime()
| Method Detail |
|---|
public static void bindDatePatterns(Map<String,String> map)
map - public static void bindTimePatterns(Map<String,String> map)
map - Map os alias.
public static <T> T postProcess(Object value,
Object[] args,
T result,
Pattern pattern,
Map<String,String> aliasToField,
Map<String,String> fieldToMethod)
value - The value.args - The arguments.result - The result.pattern - The pattern.map - A map.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||