public final class TimeExpression extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
cronExpression(long period,
long phase)
Cron expression.
|
static String |
cronExpression(String periodExpression,
String phaseExpression)
Cron expression.
|
static long |
dataPoints(long period,
long span)
Data points.
|
static long |
dataPoints(String periodExpression,
String spanExpression)
Data points.
|
static long |
inSeconds(String expression)
In seconds.
|
public static long dataPoints(String periodExpression, String spanExpression)
periodExpression - the period expressionspanExpression - the span expressionpublic static long dataPoints(long period,
long span)
period - the periodspan - the spanpublic static String cronExpression(String periodExpression, String phaseExpression)
periodExpression - the period expressionphaseExpression - the phase expressionpublic static String cronExpression(long period, long phase)
period - the periodphase - the phasepublic static long inSeconds(String expression)
expression - the expressionCopyright © 2009–2020 psi-probe. All rights reserved.