public class TimeFrame extends Object
Some examples of time frame expressions are:
| Constructor and Description |
|---|
TimeFrame() |
TimeFrame(TimeInstant from,
TimeInstant to) |
| Modifier and Type | Method and Description |
|---|---|
TimeInstant |
getFrom() |
TimeInstant |
getTo() |
static TimeFrame |
parse(String timeFrameExpr)
Parses a time frame expression.
|
void |
setFrom(TimeInstant from) |
void |
setTo(TimeInstant to) |
String |
toString() |
public TimeFrame()
public TimeFrame(TimeInstant from, TimeInstant to)
public TimeInstant getFrom()
public void setFrom(TimeInstant from)
public TimeInstant getTo()
public void setTo(TimeInstant to)
public static TimeFrame parse(String timeFrameExpr)
timeFrameExpr - A valid time instant expression (see TimeFrame class javadoc)IllegalArgumentException - If the expression is not validCopyright © 2017–2020 JBoss by Red Hat. All rights reserved.