Class TimeDTO

java.lang.Object
org.broadleafcommerce.common.TimeDTO

public class TimeDTO extends Object
Created by bpolster.
  • Constructor Details

    • TimeDTO

      public TimeDTO()
    • TimeDTO

      public TimeDTO(Calendar cal)
  • Method Details

    • getHour

      public HourOfDayType getHour()
      Returns:
      int representing the hour of day as 0 - 23
    • setHour

      public void setHour(HourOfDayType hour)
    • getDayOfWeek

      public DayOfWeekType getDayOfWeek()
      Returns:
      int representing the day of week using Calendar.DAY_OF_WEEK values. 1 = Sunday, 7 = Saturday
    • setDayOfWeek

      public void setDayOfWeek(DayOfWeekType dayOfWeek)
    • getDayOfMonth

      public DayOfMonthType getDayOfMonth()
      Returns:
      the current day of the month (1-31).
    • setDayOfMonth

      public void setDayOfMonth(DayOfMonthType dayOfMonth)
    • getMonth

      public MonthType getMonth()
      Returns:
      int representing the current month (1-12)
    • setMonth

      public void setMonth(MonthType month)
    • getMinute

      public MinuteType getMinute()
    • setMinute

      public void setMinute(MinuteType minute)
    • getDate

      public Date getDate()
    • setDate

      public void setDate(Date date)
    • setCal

      public void setCal(Calendar cal)