Package me.hsgamer.hscore.crontime
Class CronTimeParser
java.lang.Object
me.hsgamer.hscore.crontime.CronTimeParser
The cron time parser
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic List<com.cronutils.model.Cron> Create a new cron list from the cron string array.static List<com.cronutils.model.Cron> Create a new cron list from the cron string list.static List<com.cronutils.model.Cron> parse(@NotNull com.cronutils.model.definition.CronDefinition definition, @NotNull String... cronStrings) Create a new cron list from the cron string array.static List<com.cronutils.model.Cron> parse(@NotNull com.cronutils.model.definition.CronDefinition definition, @NotNull List<String> cronStrings) Create a new cron list from the cron string list.
- 
Constructor Details- 
CronTimeParserpublic CronTimeParser()
 
- 
- 
Method Details- 
parsepublic static List<com.cronutils.model.Cron> parse(@NotNull @NotNull com.cronutils.model.definition.CronDefinition definition, @NotNull @NotNull List<String> cronStrings) Create a new cron list from the cron string list. The invalid cron strings will be ignored.- Parameters:
- definition- the cron definition
- cronStrings- the cron string list
 
- 
parsepublic static List<com.cronutils.model.Cron> parse(@NotNull @NotNull com.cronutils.model.definition.CronDefinition definition, @NotNull @NotNull String... cronStrings) Create a new cron list from the cron string array. The invalid cron strings will be ignored.- Parameters:
- definition- the cron definition
- cronStrings- the cron string array
 
- 
parsepublic static List<com.cronutils.model.Cron> parse(@NotNull @NotNull com.cronutils.model.CronType type, @NotNull @NotNull List<String> cronStrings) Create a new cron list from the cron string list. The invalid cron strings will be ignored.- Parameters:
- type- the cron type
- cronStrings- the cron string list
- Returns:
- the cron list
 
- 
parsepublic static List<com.cronutils.model.Cron> parse(@NotNull @NotNull com.cronutils.model.CronType type, @NotNull @NotNull String... cronStrings) Create a new cron list from the cron string array. The invalid cron strings will be ignored.- Parameters:
- type- the cron type
- cronStrings- the cron string array
- Returns:
- the cron list
 
 
-