# cf.TimeDuration.Units

`TimeDuration.``Units`

  The units of the time duration.

  New in version 1.0.

  Examples: |

      >>> cf.TimeDuration(3, 'days').Units
      <CF Units: days>

      >>> t = cf.TimeDuration(cf.Data(12, 'calendar_months'))
      >>> t.Units
      <CF Units: calendar_months>
      >>> t.Units = cf.Units('calendar_years')
      >>> t.Units
      <CF Units: calendar_years>
      >>> t
      <CF TimeDuration: 1.0 calendar_years (from Y-01-01 00:00:00)>