| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stratelia.webactiv.almanach.control.DateDTO
public class DateDTO
A DTO on a date in the alamanch. The date is made up of the day in year and optionally of the time in the day. It is a way to carry the information pertinence about the date to render in an almanach.
| Constructor Summary | |
|---|---|
DateDTO(String dayInYear,
        String timeInDay)
Constructs a new DateDTO from the specified day in year and time in day.  | 
|
| Method Summary | |
|---|---|
 Date | 
getDate()
Gets the date as a Date instance.  | 
 String | 
getDayInYear()
Gets the day in year of this date.  | 
 String | 
getISO8601Date()
Gets the date in one of the ISO 8601 pattern: yyyy-MM-ddTHH:mm or yyyy-MM-dd if the time in day isn't set.  | 
 String | 
getTimeInDay()
Gets the time in day of this date.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public DateDTO(String dayInYear,
               String timeInDay)
dayInYear - the day in year in the ISO 8601 pattern: yyyy-MM-dd.timeInDay - the time in day in the following ISO 8601 pattern HH:mm.| Method Detail | 
|---|
public String getDayInYear()
public String getTimeInDay()
public String getISO8601Date()
public Date getDate()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||