Re: Week of the year

2003-11-23 Thread Dierk Haasis
Hello Alexander!

On Sunday, November 23, 2003 at 1:33:33 AM you wrote:

 But 1-st January _is_ in week number 1?

No. As has been pointed out there are at least two different
definitions:

1. The week with the first of January in it is Week 1.

2. ISO says, the first week containing at least four January days is
the first week of the year.

The second def - now standard - allows the 1st, 2nd and 3rd January to
be in the 53rd week of the year, hence the last days of the year
before.




-- 
Dierk Haasis

The Bat 2.01.49 on Windows XP 5.1 2600Service Pack 1

Cynic: A blackguard whose faulty vision sees things as they are, not
as they ought to be. (Ambrose Bierce)






http://www.silverstones.com/thebat/TBUDLInfo.html


Re[4]: Week of the year

2003-11-23 Thread Alexander Leschinsky
Hello Peter,

   On Sun, 23 Nov 2003 01:42:04 +0100 (23.11.2003 05:42 my local time)
   you wrote about Week of the year
   at least in part:

PO The Mathematics of the ISO 8601 Calendar
Good, I'll implement ISOWeek on this base
-- 
Best regards,
 Alexander Leschinsky

- MOTD:
For NASA, space is still a high priority.
Dan Quayle, 9/5/90





http://www.silverstones.com/thebat/TBUDLInfo.html


Re[2]: Week of the year

2003-11-23 Thread Alexander Leschinsky
Hello Dierk,

   On Sun, 23 Nov 2003 09:41:36 +0100 (23.11.2003 13:41 my local time)
   you wrote about Week of the year
   at least in part:

DH The second def - now standard - allows the 1st, 2nd and 3rd January to
DH be in the 53rd week of the year, hence the last days of the year
DH before.
But according ISO, 1-st Jan 2003 was in week 1, thus - I can't grok, why
current week must be 47-th

-- 
Best regards,
 Alexander Leschinsky

- MOTD:
Laugh and the world laughs with you, snore and you sleep alone.
Anthony Burgess





http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Week of the year

2003-11-23 Thread Peter Palmreuther
Hello Alexander,

On Sunday, November 23, 2003 at 4:33:07 PM you [AL] wrote (at least in
part):

DH The second def - now standard - allows the 1st, 2nd and 3rd January to
DH be in the 53rd week of the year, hence the last days of the year
DH before.
AL But according ISO, 1-st Jan 2003 was in week 1, thus - I can't grok, why
AL current week must be 47-th

Take a calendar (even Windows build in calendar will do it) and count
weeks. One by one. You'll end up at 47 when you hit current week. I
just did.
-- 
Regards
Peter Palmreuther
(The Bat! v2.01.49 on Windows XP 5.1 Build 2600 Service Pack 1)

There are a lot of lies going around and half of them are true.




http://www.silverstones.com/thebat/TBUDLInfo.html


Re[2]: Week of the year

2003-11-23 Thread Mark Partous
Hello Carsten,

Saturday, November 22, 2003, 2:26:48 PM, you wrote:


 Do you mean code for Week of the year?

CT ... and don't forget that there is more than one definition for
CT »week of the year«. :-/

Seems I started something off. I hadn't thought of the possible
interpretations of what is the first week of the year. I see the number in my
TclockEx, or on my calendar, and that's about it. No questions occured in my
head as far as the WOTY was concerned.

I thought you were referring to other era's (arab/hebrew/chinese/...), not to
mention a week of the year as in car of the year :-)


-- 
Best Wishes,
Mark
using The Bat! 2.01.26





http://www.silverstones.com/thebat/TBUDLInfo.html