## threeten-develop — Development list

You can subscribe to this list here.

 2010 2011 2012 2013 2014 2015 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec (1) Jan (15) Feb Mar (22) Apr (4) May (2) Jun (6) Jul (14) Aug Sep (18) Oct (64) Nov (10) Dec (22) Jan (18) Feb (43) Mar (43) Apr (38) May (98) Jun (71) Jul (47) Aug (33) Sep (45) Oct (77) Nov (32) Dec (251) Jan (112) Feb (76) Mar (41) Apr (18) May Jun Jul Aug Sep Oct (2) Nov Dec (7) Jan (15) Feb Mar (2) Apr May Jun Jul Aug Sep Oct (8) Nov (5) Dec Jan (2) Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
S M T W T F S

1
(1)
2

3

4

5

6
(2)
7
(10)
8
(3)
9
(1)
10

11
(1)
12
(1)
13

14
(2)
15

16

17
(3)
18
(2)
19
(1)
20
(2)
21
(22)
22
(2)
23

24

25
(11)
26
(5)
27

28
(2)
29

30

Showing 1 results of 1

 Re: [threeten-develop] Threeten method consistency From: Yishai Hornbacher - 2012-06-01 17:30:37 Although Adar I is called 12L in the Wikipedia article, no one conversant in the calendar (that I know of) would call it that. It may a legitimate representation I don't know (Wikipedia provides no source that I can tell). Typically Adar I is 12 and Adar II is 13, however this is complicated by the fact that the 2nd of the 12th month in a non-leap year would have its yearly anniversary on the 2nd of the 13th month of a leap year (hence my suspicion that there may be a preference to use a variant on the number for the month). All of this is to say that I think it is still reasonable to say that all Hebrew months have numeric representation (even if it is complicated by the cardinal order varying from the ordinal order and the leap month not happening at the end of either sequence), although I would like to know the source of that 12L. -----Original Message----- From: Stephen Colebourne [mailto:scolebourne@...] Sent: Wednesday, May 23, 2012 9:52 AM To: threeten-develop@... Subject: Re: [threeten-develop] Threeten method consistency On 13 May 2012 17:17, Roger Riggs wrote: > Not really. Months do have a numbering system that everyone agrees on. > > Except for a couple of (common) calendars that have different > sequences in some years. It is certainly true that some calendars have months that appear/disappear based on the year. But there is always a generally accepted numbering scheme that the locals understand. The question is whether that is sufficient by itself. The Hewbrew calendar being problematic, with its extra month being numbered 12L* according to wikipedia and years not starting with 1. > Days of the week do not (1st day is Sunday in US but Monday in EU). > > Given that the Gregorian calender needs to support both, the enums are > not enough by themselves.  If there is an API to set and provide the > first day of the week it will identify the day of the week whether it > is represented by an Enum or a number. There was previously a WeekRules class which managed this. The functionality of that needs resurecting as it was pretty comprehensive (although not fully implemented) > I've done most of the analysis, although its not complete yet > https://docs.google.com/spreadsheet/pub?key=0Ajt4KiVfO8gfdEJJRlU1eDdwS > GRxMC1FRmd5ZDJzRlE&output=html > > So far it looks like using DayOfWeek enum everywhere is the right approach. > > > Looks promising. > > Can you add a column with the calendars that need to support the > Sunday/Monday start of week? That wouldn't make much sense as I understand it. The first day-of-week is more a function of the locale/country than of the calendar system. Stephen ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ threeten-develop mailing list threeten-develop@... https://lists.sourceforge.net/lists/listinfo/threeten-develop

Showing 1 results of 1