Package org.broadleafcommerce.common
Class TimeDTO
java.lang.Object
org.broadleafcommerce.common.TimeDTO
Created by bpolster.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDate()getHour()getMonth()voidvoidvoidsetDayOfMonth(DayOfMonthType dayOfMonth) voidsetDayOfWeek(DayOfWeekType dayOfWeek) voidsetHour(HourOfDayType hour) voidsetMinute(MinuteType minute) void
-
Constructor Details
-
TimeDTO
public TimeDTO() -
TimeDTO
-
-
Method Details
-
getHour
- Returns:
- int representing the hour of day as 0 - 23
-
setHour
-
getDayOfWeek
- Returns:
- int representing the day of week using Calendar.DAY_OF_WEEK values. 1 = Sunday, 7 = Saturday
-
setDayOfWeek
-
getDayOfMonth
- Returns:
- the current day of the month (1-31).
-
setDayOfMonth
-
getMonth
- Returns:
- int representing the current month (1-12)
-
setMonth
-
getMinute
-
setMinute
-
getDate
-
setDate
-
setCal
-