public final class ScheduledTime extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ScheduledTime.FREQ |
Modifier and Type | Field and Description |
---|---|
static String |
TOKEN_DT |
static String |
TOKEN_HOUR |
static String |
TOKEN_MDAY |
static String |
TOKEN_MIN |
static String |
TOKEN_MONTH |
static String |
TOKEN_SEC |
static String |
TOKEN_YEAR |
Constructor and Description |
---|
ScheduledTime(ScheduledTime.FREQ frq) |
ScheduledTime(ScheduledTime.FREQ frq,
Calendar cal,
SimpleDateFormat fmt) |
Modifier and Type | Method and Description |
---|---|
int |
compare(ScheduledTime.FREQ freq) |
String |
embedTimestamp(long systime,
String template) |
static String |
embedTimestamp(ScheduledTime.FREQ freq,
Calendar dtcal,
String template,
SimpleDateFormat dtformatter) |
ScheduledTime.FREQ |
frequency() |
long |
get() |
static long |
getBaseTime(ScheduledTime.FREQ freq,
Calendar dtcal) |
static long |
getBaseTime(ScheduledTime.FREQ freq,
long systime,
String tz) |
String |
getFormat() |
static String |
getFormat(ScheduledTime.FREQ freq) |
static long |
getNextTime(ScheduledTime.FREQ freq,
Calendar dtcal) |
static long |
getNextTime(ScheduledTime.FREQ freq,
long systime,
String tz) |
long |
set(long systime) |
TimeZone |
timezone() |
public static final String TOKEN_DT
public static final String TOKEN_YEAR
public static final String TOKEN_MONTH
public static final String TOKEN_MDAY
public static final String TOKEN_HOUR
public static final String TOKEN_MIN
public static final String TOKEN_SEC
public ScheduledTime(ScheduledTime.FREQ frq)
public ScheduledTime(ScheduledTime.FREQ frq, Calendar cal, SimpleDateFormat fmt)
public long get()
public ScheduledTime.FREQ frequency()
public int compare(ScheduledTime.FREQ freq)
public String getFormat()
public TimeZone timezone()
public long set(long systime)
public static String embedTimestamp(ScheduledTime.FREQ freq, Calendar dtcal, String template, SimpleDateFormat dtformatter)
public static long getBaseTime(ScheduledTime.FREQ freq, Calendar dtcal)
public static long getBaseTime(ScheduledTime.FREQ freq, long systime, String tz)
public static long getNextTime(ScheduledTime.FREQ freq, long systime, String tz)
public static long getNextTime(ScheduledTime.FREQ freq, Calendar dtcal)
public static String getFormat(ScheduledTime.FREQ freq)
Copyright 2010-2018 Grey Software (Yusef Badri). All Rights Reserved.