org.broadleafcommerce.common
Class TimeDTO
java.lang.Object
org.broadleafcommerce.common.TimeDTO
public class TimeDTO
- extends Object
Created by bpolster.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeDTO
public TimeDTO()
TimeDTO
public TimeDTO(Calendar cal)
getHour
public HourOfDayType getHour()
- Returns:
- int representing the hour of day as 0 - 23
getDayOfWeek
public DayOfWeekType getDayOfWeek()
- Returns:
- int representing the day of week using Calendar.DAY_OF_WEEK values.
1 = Sunday, 7 = Saturday
getDayOfMonth
public DayOfMonthType getDayOfMonth()
- Returns:
- the current day of the month (1-31).
getMonth
public MonthType getMonth()
- Returns:
- int representing the current month (1-12)
getMinute
public MinuteType getMinute()
getDate
public Date getDate()
setCal
public void setCal(Calendar cal)
setHour
public void setHour(HourOfDayType hour)
setDayOfWeek
public void setDayOfWeek(DayOfWeekType dayOfWeek)
setMonth
public void setMonth(MonthType month)
setDayOfMonth
public void setDayOfMonth(DayOfMonthType dayOfMonth)
setDate
public void setDate(Date date)
setMinute
public void setMinute(MinuteType minute)
Copyright © 2013. All Rights Reserved.