[7.7] Date class>>newDay:monthNumber:year: change

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[7.7] Date class>>newDay:monthNumber:year: change

Boris Popov, DeepCove Labs (SNN)

(Date newDay: 1 monthNumber: 1 year: 10) year

 

  7.6 = 2010

  7.7 = 10

 

Couple of things,

 

- this isn't mentioned in release notes (but I did find AR 57002 Date>>newDay:monthNumber:year: converts years <100 in to the current century) and affects quite a chunk of existing code, at least for us

 

- the comment inside the method hadn't been updated to match new functionality, it still says years since the beginning of century are okay,

 

Answer with an instance of Date which is the day'th day of the month numbered

monthNumber in the year'th year.  The year may be specified as the actual

number of years since the beginning of the Roman calendar or the

number of years since the beginning of the current century.

 

Regards,

 

-Boris

 

--

DeepCove Labs Ltd.

+1 (604) 689-0322

4th floor, 595 Howe Street

Vancouver, British Columbia

Canada V6C 2T5

http://tinyurl.com/r7uw4

 

PacNet Services (Europe) Ltd.

+353 (0)61 714-360

Shannon Airport House, SFZ

County Clare, Ireland

http://tinyurl.com/y952amr

 

CONFIDENTIALITY NOTICE

 

This email is intended only for the persons named in the message header. Unless otherwise indicated, it contains information that is private and confidential. If you have received it in error, please notify the sender and delete the entire message including any attachments.

 

Thank you.

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc