[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] deprecate Date.bootSeconds?



What's the difference between this and Main.elapsedTime?

On Sat, Dec 29, 2012 at 7:40 PM, Tim Blechmann <tim@xxxxxxxxxx> wrote:
> hi all,
>
> i wonder, what's the opinion of people to deprecate bootSeconds from the
> Date class?
>
> * it gives an arbitrary value which is not platform-independent
> (probably time since startup on osx and time since epoch everywhere else)
> * its value is only monotonic under osx
> * it is not documented
>
> in short: every code that depends on it is fragile and one should
> probably use rawSeconds instead ...
>
> thoughts?
>
> tim
>
> _______________________________________________
> sc-dev mailing list
>
> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> archive: https://listarc.bham.ac.uk/marchives/sc-dev/
> search: https://listarc.bham.ac.uk/lists/sc-dev/search/



-- 
/Jonatan
http://kymatica.com

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/