Package ru.bitel.common.model
Class ScheduleTime
java.lang.Object
ru.bitel.common.model.ScheduleTime
-
Constructor Summary
ConstructorDescriptionScheduleTime
(int month, int day, int hour, int dayOfWeek, long min) Копирующий конструктор. -
Method Summary
Modifier and TypeMethodDescriptionstatic ScheduleTime
deserialize
(String str) int
getDay()
int
int
getHour()
long
getMin()
int
getMonth()
boolean
isTimeTick
(Calendar time) static String
void
setDay
(int day) void
setDayOfWeek
(int dayOfWeek) void
void
setHour
(int hour) void
void
void
setMin
(long min) void
setMonth
(int month) static String
toHumanReadable
(ScheduleTime time)
-
Constructor Details
-
ScheduleTime
public ScheduleTime() -
ScheduleTime
Копирующий конструктор.- Parameters:
st
-
-
ScheduleTime
public ScheduleTime(int month, int day, int hour, int dayOfWeek, long min)
-
-
Method Details
-
serialize
-
deserialize
-
toHumanReadable
-
isTimeTick
-
getMonth
public int getMonth() -
setMonth
public void setMonth(int month) -
getDay
public int getDay() -
setDay
public void setDay(int day) -
getHour
public int getHour() -
setHour
public void setHour(int hour) -
getDayOfWeek
public int getDayOfWeek() -
setDayOfWeek
public void setDayOfWeek(int dayOfWeek) -
getMin
public long getMin() -
setMin
public void setMin(long min) -
getHumanReadable
-
setHumanReadable
-
getHumanReadableWithoutTime
-
setHumanReadableWithoutTime
-
getDayOfWeekAsString
-
setDayOfWeekAsString
-