Copy of Arduino TimeAlarms library.