[style] using names instead of numbers in the indexing of date arrays.