Mercurial > hg > aimmat
annotate aim-mat/tools/units/time/@unit_time_hours/unit_time_hours.m @ 4:537f939baef0 tip
various bug fixes and changed copyright message
author | Stefan Bleeck <bleeck@gmail.com> |
---|---|
date | Tue, 16 Aug 2011 14:37:17 +0100 |
parents | 74dedb26614d |
children |
rev | line source |
---|---|
tomwalters@0 | 1 function nu=unit_time_hours() |
tomwalters@0 | 2 |
tomwalters@0 | 3 str.name='hours'; |
tomwalters@0 | 4 str.fullname='hours'; |
tomwalters@0 | 5 |
tomwalters@0 | 6 str.converter=unitconvertermultpow(60*60,1); |
tomwalters@0 | 7 |
tomwalters@0 | 8 un=unit(str.name,str.fullname,str.converter); |
tomwalters@0 | 9 nu=class(str,'unit_time_hours',un); |