public class CronDescriptor extends Object
Modifier and Type | Field and Description |
---|---|
static Locale |
DEFAULT_LOCALE |
Modifier and Type | Method and Description |
---|---|
String |
describe(Cron cron)
Provide a description of given CronFieldParseResult list
|
static CronDescriptor |
instance()
Creates an instance with UK locale
|
static CronDescriptor |
instance(Locale locale)
Creates and instance with given locale
|
public static final Locale DEFAULT_LOCALE
public String describe(Cron cron)
cron
- - Cron instance, never null
if null, will throw NullPointerExceptionpublic static CronDescriptor instance()
public static CronDescriptor instance(Locale locale)
locale
- - Locale in which descriptions will be givenCopyright © 2016. All rights reserved.