At 12:00am -0800 00-02-23, Palm Developer Forum digest wrote:
>Subject: Q: OS 3.5 Debug ROM: PrvValidateDateValue
>From: Christopher Hunt <[EMAIL PROTECTED]>
>Date: Wed, 23 Feb 2000 10:08:09 +1100
>X-Message-Number: 80
>
>Hi there,
>
>I'm using TimDateTimeToSeconds which calls PrvValidateDateValue and
>under some high gremlin condition is resulting in 'invalid parameter
>value'.
>
>Can you please tell me what the assertions are for PrvValidateDateValue?
A fatal alert is generated if any of the following is true:
month < january (1)
month > december (12)
year > lastYear (2031)
day < 0
day > DaysInMonth(month, year)
Note that the day can be == 0; I guess there's some special 'day out
of system range' condition.
-- Ken
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html