refactoring

extract calculating next day time in milliseconds to separate class
(from 2 same
methods)