Test range of Date values

Bug #1209788 reported by Richard Gomes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
JQuantLib
New
Medium
Unassigned

Bug Description

I stumbed with a question regarding the internal representation of Date values.

private /*@NonNegative*/ int value;

static private final int MinimumSerialNumber = 367; // 01-Jan-1901
static private final int MaximumSerialNumber = 73050; // 31-Dec-2099

It's a good idea to test if these limits are really working as expected. I mean: there's a possibility that it does not work as expected due to the fact Java does not provide unsigned data.

Tags: code-review
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.