public abstract class Period extends Object implements Serializable
| Constructor and Description |
|---|
Period() |
| Modifier and Type | Method and Description |
|---|---|
abstract long |
inMillis() |
long |
inSeconds() |
static Period |
millis(long period) |
static Period |
seconds(int seconds) |
static Period |
seconds(long seconds) |
abstract void |
updateWith(Clock clock)
Period duration can be dependant to the current clock, therefore one can be set.
|
public abstract void updateWith(Clock clock)
clock - Clock.public abstract long inMillis()
public long inSeconds()
public static Period millis(long period)
public static Period seconds(int seconds)
public static Period seconds(long seconds)
Copyright © 2014–2023 MuleSoft, Inc.. All rights reserved.