Function expandTimeFilter() and class Time.js implemented.