Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 339 Bytes

builtin_units_times.rst

File metadata and controls

19 lines (11 loc) · 339 Bytes

Units of time

Tip

All time units have helper methods ->asYears(), ->add(), ->subtract(), ->multiply() and ->divide()

Year

new Year(float $year)
Time::makeUnit(float $year, Time::EPSG_YEAR)
Time::makeUnit(float $year, 'urn:ogc:def:uom:EPSG::1029')