public class SecondsPeriod extends Period
| Constructor and Description |
|---|
SecondsPeriod(int seconds) |
SecondsPeriod(long seconds) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
long |
inMillis() |
String |
toString() |
void |
updateWith(Clock clock)
Period duration can be dependant to the current clock, therefore one can be set.
|
public SecondsPeriod(int seconds)
public SecondsPeriod(long seconds)
public void updateWith(Clock clock)
PeriodupdateWith in class Periodclock - Clock.public long inMillis()
Copyright © 2014–2023 MuleSoft, Inc.. All rights reserved.