Issue 26699 - f(x)" eastersunday" returns invaluid value
Summary: f(x)" eastersunday" returns invaluid value
Status: ACCEPTED
Alias: None
Product: Calc
Classification: Application
Component: code (show other issues)
Version: OOo 1.1.1RC
Hardware: All All
: P5 (lowest) Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-18 20:45 UTC by norbert2
Modified: 2017-05-20 11:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description norbert2 2004-03-18 20:45:08 UTC
The function OSTERSONNTAG(9999) (german, in english I gues "eastersunday")
returns "31.12.99". I don't think that even in the year 9999 easter-sunday will
be in december! :-)
Comment 1 frank 2004-03-19 10:45:08 UTC
Hhhhmmmm,

I think we will fix this according to the timeframe. Let's say 100 years before
the date ?   ;-)

Eike what do you think ?

Frank

PS It seems that we calculate in the correct way up to the year 9957
Comment 2 ooo 2004-03-19 14:22:48 UTC
Just read the function's description in the FormulaAutoPilot: the year has to be
a value between 1583 and 9956, so calculating an incorrect result for year 9999
is not a bug but a user error ;-)

However, we could return an error condition instead of an invalid result.
Comment 3 norbert2 2004-03-21 09:12:33 UTC
"we could return an error condition instead of an invalid result"

Yes, this would be much better!
Comment 4 norbert2 2004-03-23 21:01:54 UTC
To Frank:

"Just read the function's description..."

In the Function List's description, this is not mentioned!!!
Comment 5 Marcus 2017-05-20 11:13:33 UTC
Reset assigne to the default "issues@openoffice.apache.org".