|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.java.dev.moskito.core.stats.impl.IntervalNameParser
class IntervalNameParser
This utility class provides functionality to parse Interval names.
| Field Summary | |
|---|---|
private static int |
DAY
The length of a day in seconds |
private static int |
HOUR
The length of an hour in seconds |
private static int |
MINUTE
The length of a minute in seconds |
private static int |
SECOND
The length of a second in seconds |
| Constructor Summary | |
|---|---|
IntervalNameParser()
|
|
| Method Summary | |
|---|---|
(package private) static int |
guessLengthFromName(String aName)
This method parses the given Interval name and returns the length of such an Interval in seconds. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final int SECOND
private static final int MINUTE
private static final int HOUR
private static final int DAY
| Constructor Detail |
|---|
IntervalNameParser()
| Method Detail |
|---|
static final int guessLengthFromName(String aName)
aName - the name of the Interval
UnknownIntervalLengthException - if the name could not be parsed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||