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 Integer getHour()
- Returns:
- int representing the hour of day as 0 - 23
getDayOfWeek
public Integer getDayOfWeek()
- Returns:
- int representing the day of week using Calendar.DAY_OF_WEEK values.
1 = Sunday, 7 = Saturday
getDayOfMonth
public Integer getDayOfMonth()
- Returns:
- the current day of the month (1-31).
getMonth
public Integer getMonth()
- Returns:
- int representing the current month (1-12)
getMinute
public Integer getMinute()
getDate
public Date getDate()
setCal
public void setCal(Calendar cal)
setHour
public void setHour(Integer hour)
setDayOfWeek
public void setDayOfWeek(Integer dayOfWeek)
setMonth
public void setMonth(Integer month)
setDayOfMonth
public void setDayOfMonth(Integer dayOfMonth)
setDate
public void setDate(Date date)
setMinute
public void setMinute(Integer minute)
Copyright © 2012. All Rights Reserved.