public class Cron4jExpressionImpl extends Object implements CronExpression
Constructor and Description |
---|
Cron4jExpressionImpl(String cronExpression,
TimeZone timeZone) |
Modifier and Type | Method and Description |
---|---|
String |
getExpression() |
Optional<ZonedDateTime> |
getNextMatchingTime() |
Optional<ZonedDateTime> |
getPrevMatchingTime() |
void |
setExpression(String cronExpression) |
public String getExpression()
getExpression
in interface CronExpression
public void setExpression(String cronExpression)
setExpression
in interface CronExpression
public Optional<ZonedDateTime> getNextMatchingTime()
getNextMatchingTime
in interface CronExpression
public Optional<ZonedDateTime> getPrevMatchingTime()
getPrevMatchingTime
in interface CronExpression
Copyright © 2000–2022 EPAM Systems. All rights reserved.