Package org.javlo.fields
Class FieldDate.FieldDateBean
- java.lang.Object
-
- org.javlo.fields.Field.FieldBean
-
- org.javlo.fields.FieldDate.FieldDateBean
-
- Enclosing class:
- FieldDate
public class FieldDate.FieldDateBean extends Field.FieldBean
-
-
Field Summary
-
Fields inherited from class org.javlo.fields.Field.FieldBean
contentLocale, ctx, refBean
-
-
Constructor Summary
Constructors Constructor Description FieldDateBean(ContentContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAge()
String
getFormatedDate()
String
getFullDate()
String
getMediumDate()
String
getShortDate()
String
getSortableDate()
boolean
isPast()
-
Methods inherited from class org.javlo.fields.Field.FieldBean
getAllXHTML, getCssClass, getDisplayValue, getDisplayValue, getFormatedValue, getHtml, getId, getInputLabelName, getInputName, getLabel, getName, getOrder, getPrefix, getReference, getSize, getSuffix, getTag, getText, getTextForAttribute, getType, getUnity, getUrl, getURL, getValue, getValues, getViewXHTMLCode, getXHTMLValue, isLabelDisplayed, isLabelEditable, isNeeded, isPertinent, isReadOnly, isViewDisplayed, isWrapped
-
-
-
-
Constructor Detail
-
FieldDateBean
public FieldDateBean(ContentContext ctx)
-
-
Method Detail
-
getSortableDate
public String getSortableDate() throws FileNotFoundException, IOException
- Throws:
FileNotFoundException
IOException
-
getShortDate
public String getShortDate() throws FileNotFoundException, IOException
- Throws:
FileNotFoundException
IOException
-
getMediumDate
public String getMediumDate() throws FileNotFoundException, IOException
- Throws:
FileNotFoundException
IOException
-
getFullDate
public String getFullDate() throws FileNotFoundException, IOException
- Throws:
FileNotFoundException
IOException
-
getFormatedDate
public String getFormatedDate() throws FileNotFoundException, IOException
- Throws:
FileNotFoundException
IOException
-
isPast
public boolean isPast()
-
getAge
public int getAge()
-
-