cf.TimeDuration.inspect

TimeDuration.inspect()[source]

Inspect the attributes.

See also

cf.inspect

New in version 1.0.

Returns:None
Examples:
>>> t=cf.TimeDuration(9, 'days')
>>> t.inspect()
<CF TimeDuration: 9 days (from Y-M-D 00:00:00)>
-----------------------------------------------
day: 1
duration: <CF Data: 9 days>
hour: 0
minute: 0
month: 1
second: 0
year: None