Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Highlighted
Regular Contributor
Posts: 59
Registered: ‎05-10-2012
My Device: 8800
My Carrier: verizon

DateField only displays 100 year range

Hi folks

 

This is a little bizarre.   I have a user reporting a DateField in my app on their device only shows years between 1962-2062

 

Storm 9530 v5.0.0.328

Curve 8530  v5.0.0.508

 

I have a Bold 9700 v5.0.0.979 and I've scrolled the year back to 1695 and forward to 2280 and the field appeared able to go back/forward further.

The docs say nothing of a way to restrict the year to such a range, or at least not that I can see.

I'm even creating this field in a rather plain fashion:

 

        dob = new DateField();

        dob.setFormat(DateFormat.getInstance(DateFormat.DATE_DEFAULT));

        dob.setDate(new Date());

 

Has anyone run across this kind of odd behavior?