TimePeriodpublic class TimePeriod
extends com.devexperts.util.TimePeriod
| Modifier and Type | Method and Description |
|---|---|
static TimePeriod |
valueOf(long value)
Deprecated.
Use
TimePeriod.valueOf(long) |
static TimePeriod |
valueOf(String value)
Deprecated.
Use
TimePeriod.valueOf(String) |
public static TimePeriod valueOf(long value)
TimePeriod.valueOf(long)TimePeriod with value milliseconds.value - value in millisecondsTimePeriod with value milliseconds.public static TimePeriod valueOf(String value) throws InvalidFormatException
TimePeriod.valueOf(String)TimePeriod represented with a given string.
Allowable format is ISO8601 duration, but there are some simplifications and modifications available:
value - string representationTimePeriod represented with a given string.InvalidFormatException - if cannot parse valueCopyright © 2002–2025 Devexperts LLC. All rights reserved.