protected static property DateObject::$allgranularity in Date 7
Same name and namespace in other branches
- 7.3 date_api/date_api.module \DateObject::allgranularity
- 7.2 date_api/date_api.module \DateObject::allgranularity
File
- date_api/date_api.module, line 56
- This module will make the date API available to other modules.
Designed to provide a light but flexible assortment of functions
and constants, with more functionality in additional files that
are not loaded unless other modules specifically include them.
Class
- DateObject
- Extend PHP DateTime class with granularity handling, merge functionality and
slightly more flexible initialization parameters.
Code
protected static $allgranularity = array(
'year',
'month',
'day',
'hour',
'minute',
'second',
'timezone',
);