Can a year have 364 days?

Here is some fun.

I just downloaded the .NET 4 source and found the following comment at the beginning of the file TimeSpan.cs:

... while a year may contain 365 or 364 days

Should I worry?

+3
source share
5 answers

I don’t know what a comment on the source code means, but there are a few more exotic calendars in which only a year has 364 days, for example. a calendar transition :

- , . , , ISO, - .

ISO , ( ) , . ( ISO) 52 53 (364 371 ).

. 364 13 . , ​​, Wikipedia:

+4

, , ?

+3

, . , 364 ! , - , . - 1752,

jlouis@illithid:~$ cal sep 1752
   September 1752
Mo Tu We Th Fr Sa Su
    1  2 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30

, .

http://en.wikipedia.org/wiki/Gregorian_calendar#Adoption

.

: , , . , .

+2

, 365 366 ? , 364 .

-1

No, he can not. Maybe you should worry. Although the number of whole weeks x days per week = 52 x 7 = 364

-1
source

Source: https://habr.com/ru/post/1776327/


All Articles