public static function DatexObject::granularityNames in Datex 7.2
Names of date granularities.
File
- datex_api/
datex_api.class.inc, line 853 - Provides an API to work with dates.
Class
- DatexObject
- Base class for localized DateTime.
Code
public static function granularityNames() {
return array(
'year',
'month',
'day',
'hour',
'minute',
'second',
);
}