| 765 | // Return the day of the week (Sunday is 0) of the specified given date. |
| 766 | |
| 767 | int DayOfWeek(int month, int day, int year) |
| 768 | { |
| 769 | int d; |
| 770 | |
| 771 | d = (MdyToJulian(month, day, year) + 1) % 7; |
| 772 | return d < 0 ? d+7 : d; |
| 773 | } |
| 774 | |
| 775 | |
| 776 | // Given a day, and the month and year it falls in, add a number of days to |
no test coverage detected