public class TimePeriod extends Object
| Constructor and Description |
|---|
TimePeriod(long unitCount,
TimeUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
TimeUnit |
getUnit() |
long |
getUnitCount() |
static TimePeriod |
parse(String str,
boolean lenient,
TimeUnit defaultUnit) |
public TimePeriod(long unitCount,
TimeUnit unit)
public static TimePeriod parse(String str, boolean lenient, TimeUnit defaultUnit)
public long getUnitCount()
public TimeUnit getUnit()
Copyright © 2021 vpc open source initiative. All rights reserved.