Date/Time in KF5 / Qt5
thiago at kde.org
Wed Jul 6 21:10:06 BST 2011
Em Wednesday, 6 de July de 2011, às 20:54:54, David Jarvie escreveu:
> > Duration is simply the number of seconds or milliseconds between two
> > dates, appropriately given in their universal time. So duration is not
> > affected by daylight savings.
> Duration must record whether it was specified in terms of
> hours/minutes/seconds, or days/weeks/whatever so that daylight savings
> changes can be taken into account when calculating the end time of a
> duration, given a start time.
> If the duration class provides methods to calculate the end time, given a
> start time, then it must take account of daylight savings changes.
> See kdepimlibs/kcalcore/duration.h for example.
That's not what QTimeSpan is supposed to be. It's simply a quantity of
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 190 bytes
Desc: This is a digitally signed message part.
More information about the kde-core-devel