@@ -4,19 +4,16 @@ The difference between the
4
4
{Julian calendar}[https://en.wikipedia.org/wiki/Julian_calendar]
5
5
and the
6
6
{Gregorian calendar}[https://en.wikipedia.org/wiki/Gregorian_calendar]
7
- may matter to your program if it uses dates in the interval:
7
+ may matter to your program if it uses dates before the switchovers.
8
8
9
9
- October 15, 1582.
10
10
- September 14, 1752.
11
11
12
- A date outside that interval (including all dates in modern times)
13
- is the same in both calendars.
14
- However, a date _within_ that interval will be different
15
- in the two calendars.
12
+ A date will be different in the two calendars, in general.
16
13
17
- === Different Calendar, Different \Date
14
+ === Different switchover dates
18
15
19
- The reason for the difference is this:
16
+ The reasons for the difference are religious/political histories.
20
17
21
18
- On October 15, 1582, several countries changed
22
19
from the Julian calendar to the Gregorian calendar;
@@ -25,10 +22,12 @@ The reason for the difference is this:
25
22
- On September 14, 1752, most of the British empire
26
23
changed from the Julian calendar to the Gregorian calendar.
27
24
28
- When your code uses a date in this "gap" interval ,
25
+ When your code uses a date before these switchover dates ,
29
26
it will matter whether it considers the switchover date
30
27
to be the earlier date or the later date (or neither).
31
28
29
+ See also {a concrete example here}[rdoc-ref:DateTime@When+should+you+use+DateTime+and+when+should+you+use+Time-3F].
30
+
32
31
=== Argument +start+
33
32
34
33
Certain methods in class \Date handle differences in the
0 commit comments