以下就是这段代码,里面定义并解释了两个名词,新纪元(Epoch):宇宙的最开始(这真是个恐怖的词句!
1
//
2
// Epoch = the beginning of the universe (the earliest date we support)
3
// Armageddon = the end of the universe (the latest date we support)
4
//
5
// Epoch is 14-sep-1752 because that's when the Gregorian calendar
6
// kicked in. The day before 14-sep-1752 was 2-sep-1752 (in British
7
// and US history; other countries switched at other times).
8
//
9
// Armageddon is 31-dec-9999 because we assume four digits for years
10
// is enough. (Oh no, the Y10K problem
)
11
//
12
;
2
3
4
5
6
7
8
9
10
11
12