Bug 1363672 - Add step support to date picker (follow up)

Bug 1374967: https://bugzilla.mozilla.org/show_bug.cgi?id=1374967
(partially - implement getStep/getStepBase)
This commit is contained in:
janekptacijarabaci 2018-03-30 23:25:42 +02:00 committed by Roy Tam
commit 1f5afcad81
2 changed files with 10 additions and 0 deletions

View file

@ -800,6 +800,8 @@ public:
* The following are called from datetime input box binding to get the
* corresponding computed values.
*/
double GetStepAsDouble() { return GetStep().toDouble(); }
double GetStepBaseAsDouble() { return GetStepBase().toDouble(); }
double GetMinimumAsDouble() { return GetMinimum().toDouble(); }
double GetMaximumAsDouble() { return GetMaximum().toDouble(); }