use <= >= in dusk/dawn interval check