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

[sc-dev] deprecate Date.bootSeconds?

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 ...



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/