added experimental support for midnight (24:00) at end of range