Code and documentation for the StructureJS library.
js/util/DateUtil.js:9
A helper class that deals with dates.
LONG_DAY_LABELS
Defined in js/util/DateUtil.js:47
js/util/DateUtil.js:47
A list of day names.
LONG_MONTH_LABELS
Defined in js/util/DateUtil.js:67
js/util/DateUtil.js:67
A list of month names.
SHORT_DAY_LABELS
Defined in js/util/DateUtil.js:57
js/util/DateUtil.js:57
TODO: YUIDoc_comment
SHORT_MONTH_LABELS
Defined in js/util/DateUtil.js:77
js/util/DateUtil.js:77
There are no properties that match your current filter settings. You can change your filter settings in the index section on this page. index
getDaySuffix
today
Defined in js/util/DateUtil.js:22
js/util/DateUtil.js:22
Returns the suffix of a given day.
DateUtil.getDaySuffix(1); // 'st' DateUtil.getDaySuffix(2); // 'nd' DateUtil.getDaySuffix(3); // 'rd' DateUtil.getDaySuffix(4); // 'th'
There are no methods that match your current filter settings. You can change your filter settings in the index section on this page. index