public class Interval extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Interval.Units |
| Constructor and Description |
|---|
Interval(int length,
Interval.Units units) |
public static final Interval NONE
public Interval(int length,
Interval.Units units)
public static Interval parse(String s)
s - The string to parseIntervalIllegalArgumentException - if the string does not parsepublic int getLength()
public Interval.Units getUnits()
Copyright © 2014 Red Hat, Inc.. All rights reserved.