added enumerations for weekdays and months
added snap to weekdays functions