public class DURATION extends NamedWarpScriptFunction implements WarpScriptStackFunction
| Constructor and Description |
|---|
DURATION(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
apply(WarpScriptStack stack) |
static long |
parseDuration(org.joda.time.Instant ref,
java.lang.String duration_string,
boolean allowAmbiguous,
boolean toRef) |
getName, refSnapshot, setName, toStringpublic java.lang.Object apply(WarpScriptStack stack) throws WarpScriptException
apply in interface WarpScriptStackFunctionWarpScriptExceptionpublic static long parseDuration(org.joda.time.Instant ref,
java.lang.String duration_string,
boolean allowAmbiguous,
boolean toRef)
throws WarpScriptException
WarpScriptException