class Duration extends AbstractTimeValue {

    public final void sleep() {
        if (getMilliseconds() > 0) {
            try {
                Thread.sleep(getMilliseconds());
            } catch (InterruptedException e) {
                // Ignored
            }
        }
    }

    protected  Duration(final long milliseconds);

}