org.broadleafcommerce.common
Class TimeDTO

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

public class TimeDTO
extends Object

Created by bpolster.


Constructor Summary
TimeDTO()
           
TimeDTO(Calendar cal)
           
 
Method Summary
 Date getDate()
           
 DayOfMonthType getDayOfMonth()
           
 DayOfWeekType getDayOfWeek()
           
 HourOfDayType getHour()
           
 MinuteType getMinute()
           
 MonthType getMonth()
           
 void setCal(Calendar cal)
           
 void setDate(Date date)
           
 void setDayOfMonth(DayOfMonthType dayOfMonth)
           
 void setDayOfWeek(DayOfWeekType dayOfWeek)
           
 void setHour(HourOfDayType hour)
           
 void setMinute(MinuteType minute)
           
 void setMonth(MonthType month)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeDTO

public TimeDTO()

TimeDTO

public TimeDTO(Calendar cal)
Method Detail

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.