This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
toDayOfYear | |
This sketch demonstrates a function to convert the year, month, day | |
format to the day of the year. Leap years are corrected. Unit tests | |
include leap year and regular year tests for every month as well as | |
corner case and error case testing. | |
Created 30 March 2015 | |
Modified 14 April 2015 |