public class ScheduleTime
extends java.lang.Object
Constructor and Description |
---|
ScheduleTime() |
ScheduleTime(int month,
int day,
int hour,
int dayOfWeek,
long min) |
ScheduleTime(ScheduleTime st)
Копирующий конструктор.
|
Modifier and Type | Method and Description |
---|---|
static ScheduleTime |
deserialize(java.lang.String str) |
int |
getDay() |
int |
getDayOfWeek() |
java.lang.String |
getDayOfWeekAsString() |
int |
getHour() |
java.lang.String |
getHumanReadable() |
java.lang.String |
getHumanReadableWithoutTime() |
long |
getMin() |
int |
getMonth() |
boolean |
isTimeTick(java.util.Calendar time) |
static java.lang.String |
serialize(ScheduleTime st) |
void |
setDay(int day) |
void |
setDayOfWeek(int dayOfWeek) |
void |
setDayOfWeekAsString(java.lang.String s) |
void |
setHour(int hour) |
void |
setHumanReadable(java.lang.String s) |
void |
setHumanReadableWithoutTime(java.lang.String s) |
void |
setMin(long min) |
void |
setMonth(int month) |
static java.lang.String |
toHumanReadable(ScheduleTime time) |
public ScheduleTime()
public ScheduleTime(ScheduleTime st)
st
- public ScheduleTime(int month, int day, int hour, int dayOfWeek, long min)
public static java.lang.String serialize(ScheduleTime st)
public static ScheduleTime deserialize(java.lang.String str)
public static java.lang.String toHumanReadable(ScheduleTime time)
public boolean isTimeTick(java.util.Calendar time)
public int getMonth()
public void setMonth(int month)
public int getDay()
public void setDay(int day)
public int getHour()
public void setHour(int hour)
public int getDayOfWeek()
public void setDayOfWeek(int dayOfWeek)
public long getMin()
public void setMin(long min)
public java.lang.String getHumanReadable()
public void setHumanReadable(java.lang.String s)
public java.lang.String getHumanReadableWithoutTime()
public void setHumanReadableWithoutTime(java.lang.String s)
public java.lang.String getDayOfWeekAsString()
public void setDayOfWeekAsString(java.lang.String s)