defining valid transpass time and holidays