Notwithstanding any other provision of law, whenever the Governor declares a state of emergency or orders all or some state offices closed due to hazardous weather conditions he may authorize up to five days leave with pay for affected state employees who are absent from work due to the state of emergency or the hazardous weather conditions.