SwatObject
└─SwatUIObject
└─SwatCellRenderer
└─SwatDateCellRenderer
public class SwatDateCellRenderer
extends SwatCellRenderer
| Field Summary | |
|---|---|
| string|SwatDate|Date | Date to render. |
| string|Date_TimeZone | The time zone to render the date in. |
| mixed | Format. |
| integer | Time Zone Format. |
| Fields inherited from Swat.SwatCellRenderer | |
|---|---|
| id, sensitive | |
| Fields inherited from Swat.SwatUIObject | |
|---|---|
| classes, html_head_entry_set, parent, visible | |
| Method Summary | |
|---|---|
| void | render() Renders the contents of this cell. |
| Methods inherited from Swat.SwatCellRenderer | |
|---|---|
| getBaseCSSClassNames, getDataSpecificCSSClassNames, getHtmlHeadEntrySet, getInheritanceCSSClassNames, getInlineJavaScript, getMessages, getPropertyNameToMap, hasMessage, init, isPropertyStatic, makePropertyStatic, process, render | |
| Methods inherited from Swat.SwatUIObject | |
|---|---|
| addComment, addJavaScript, addStyleSheet, addTangoAttribution, copy, getCSSClassNames, getCSSClassString, getFirstAncestor, getHtmlHeadEntrySet, getInlineJavaScript, getUniqueId, isVisible | |
public string|SwatDate|Date $date = null
Date to render
This may either be a Date object, or may be an ISO-formatted date string that can be passed into the SwatDate constructor.
public string|Date_TimeZone $display_time_zone = null
The time zone to render the date in
The time zone may be specified either as a time zone identifier valid for PEAR::Date_TimeZone or as a Date_TimeZone object. If the render time zone is null, no time zone conversion is performed.
public mixed $format = SwatDate::DF_DATE_TIME
Format
Either a SwatDate format mask, or class constant. Class
constants are preferable for sites that require translation.
public integer $time_zone_format = null
Time Zone Format
A time zone format class constant from SwatDate.
public void render()
Renders the contents of this cell
A text renderer.