print 'Demonstrates that units are implicitly assigned:'
t0= dataset( '2016-07-14T06:39' )
tt= zeros(6)
for i in range(6):
     tt[i]= t0 + Units.hours.createDatum(i)
for t in tt:
     print t

print 'Demonstrates that units conversion is handled:'
t0= dataset( '2016-07-14T06:39' )
tt= putProperty( zeros(6), QDataSet.UNITS, Units.t1970 )
for i in range(6):
     tt[i]= t0 + Units.hours.createDatum(i)
for t in tt:
     print t
