Initial fixes to Hebrew calendar resulting from QA review.

Authored by John Layt <john@layt.net> on Jan 2 2010, 8:20 PM.

Description

Initial fixes to Hebrew calendar resulting from QA review.

  1. Remove experimental code that was confusing things (and should never have been committed in the first place as isn't completed yet).
  2. Fix setDate() issues from calling base class in error
  3. Fix problem with not returning month name for month 13
  4. More unit tests including round tripping
  5. Restrict valid date range to AH 5344 to 8119 (AD 1583 to 4359) as testing shows this is the range the current formula implementations actually work in

These fixes use the existing formulas, better formulas are available and will
be implemented later.

(Note round-trip tests show a bug in QDate with leap days in years < 1!)

BUG: 220990

Fixes implemented for 4.4 only

svn path=/trunk/KDE/kdelibs/; revision=1069166

Details

Committed
John Layt <john@layt.net>Jan 2 2010, 8:20 PM
Parents
R446:16b129673cb0: Fix hardcoded searchbar size, adapt to font size
Branches
Unknown
Tags
Unknown
John Layt <john@layt.net> committed R446:f09120782267: Initial fixes to Hebrew calendar resulting from QA review. (authored by John Layt <john@layt.net>).Jan 2 2010, 8:20 PM