public class CronExpression
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
CronExpression(java.lang.String second,
java.lang.String minute,
java.lang.String hour,
java.lang.String dayOfWeek,
java.lang.String dayOfMonth,
java.lang.String month,
java.lang.String year)
Constructs a new cron expression.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDayOfMonth()
Gets the day of month expression.
|
java.lang.String |
getDayOfWeek()
Gets the day of week expression.
|
java.lang.String |
getHour()
Gets the hour expression.
|
java.lang.String |
getMinute()
Gets the minutes expression.
|
java.lang.String |
getMonth()
Gets the month expression.
|
java.lang.String |
getSecond()
Gets the seconds expression.
|
java.lang.String |
getYear()
Gets the year expression.
|
java.lang.String |
toString() |
public CronExpression(java.lang.String second, java.lang.String minute, java.lang.String hour, java.lang.String dayOfWeek, java.lang.String dayOfMonth, java.lang.String month, java.lang.String year)
second
- Second part of cron expression.minute
- Minute part of cron expression.hour
- Hour part of cron expression.dayOfWeek
- Day of week part of cron expression.dayOfMonth
- Day of month part of cron expression.month
- Month part of cron expression.year
- Year part of cron expression.public java.lang.String getSecond()
public java.lang.String getMinute()
public java.lang.String getHour()
public java.lang.String getDayOfWeek()
public java.lang.String getDayOfMonth()
public java.lang.String getMonth()
public java.lang.String getYear()
public java.lang.String toString()
toString
in class java.lang.Object