Package org.javlo.bean
Class DateBean
- java.lang.Object
-
- org.javlo.bean.DateBean
-
public class DateBean extends Object
-
-
Constructor Summary
Constructors Constructor Description DateBean(ContentContext ctx, Date date)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Date
getDate()
int
getDay()
DateBean
getDayNext()
DateBean
getDayPrevious()
String
getDayText()
String
getFullDate()
String
getInputDate()
String
getMediumDate()
int
getMonth()
int
getMonthDay()
String
getMonthText()
String
getShortDate()
String
getSortableDate()
int
getYear()
String
toString()
-
-
-
Constructor Detail
-
DateBean
public DateBean(ContentContext ctx, Date date)
-
-
Method Detail
-
getDate
public Date getDate()
-
getDay
public int getDay()
-
getMonthDay
public int getMonthDay()
-
getDayText
public String getDayText()
-
getMonth
public int getMonth()
-
getMonthText
public String getMonthText()
-
getYear
public int getYear()
-
getInputDate
public String getInputDate() throws ParseException
- Throws:
ParseException
-
getSortableDate
public String getSortableDate()
-
getShortDate
public String getShortDate() throws FileNotFoundException, IOException
- Throws:
FileNotFoundException
IOException
-
getMediumDate
public String getMediumDate()
-
getFullDate
public String getFullDate()
-
getDayPrevious
public DateBean getDayPrevious() throws FileNotFoundException, IOException
- Throws:
FileNotFoundException
IOException
-
getDayNext
public DateBean getDayNext() throws FileNotFoundException, IOException
- Throws:
FileNotFoundException
IOException
-
-