Class ScheduleTime

java.lang.Object
ru.bitel.common.model.ScheduleTime

public class ScheduleTime
extends java.lang.Object
  • Constructor Details

    • ScheduleTime

      public ScheduleTime()
    • ScheduleTime

      public ScheduleTime​(ScheduleTime st)
      Копирующий конструктор.
      Parameters:
      st -
    • ScheduleTime

      public ScheduleTime​(int month, int day, int hour, int dayOfWeek, long min)
  • Method Details

    • serialize

      public static java.lang.String serialize​(ScheduleTime st)
    • deserialize

      public static ScheduleTime deserialize​(java.lang.String str)
    • toHumanReadable

      public static java.lang.String toHumanReadable​(ScheduleTime time)
    • isTimeTick

      public boolean isTimeTick​(java.util.Calendar time)
    • 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

      public java.lang.String getHumanReadable()
    • setHumanReadable

      public void setHumanReadable​(java.lang.String s)
    • getHumanReadableWithoutTime

      public java.lang.String getHumanReadableWithoutTime()
    • setHumanReadableWithoutTime

      public void setHumanReadableWithoutTime​(java.lang.String s)
    • getDayOfWeekAsString

      public java.lang.String getDayOfWeekAsString()
    • setDayOfWeekAsString

      public void setDayOfWeekAsString​(java.lang.String s)