RE: [flexcoders] Re: Valid Date Ranges in Flex

2009-01-14 Thread Gregory Kelley
I knew that at some point in the past. Now that you say that it is very obvious. In my attempt to determine the earliest/latest date supported I tried the following but then all the date parts in the object are NaN. public static const MIN_DATE:Date = new Date(-Number.MAX_VALUE); public static

RE: [flexcoders] Re: Valid Date Ranges in Flex

2009-01-14 Thread Maciek Sakrejda
Subject: RE: [flexcoders] Re: Valid Date Ranges in Flex Date: Wed, 14 Jan 2009 10:30:50 -0500 I knew that at some point in the past. Now that you say that it is very obvious. In my attempt to determine the earliest/latest date supported I tried the following but then all the date parts in the

RE: [flexcoders] Re: Valid Date Ranges in Flex

2009-01-14 Thread Gregory Kelley
to:flexcod...@yahoogroups.com] On Behalf Of Maciek Sakrejda Sent: Wednesday, January 14, 2009 1:02 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Valid Date Ranges in Flex You should be able to determine minDate and maxDate by calling new Date(Number.MIN_VALUE) and new Date(Number.MAX_VALUE).

RE: [flexcoders] Re: Valid Date Ranges in Flex

2009-01-14 Thread Maciek Sakrejda
flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Valid Date Ranges in Flex Date: Wed, 14 Jan 2009 14:10:41 -0500 Actually, just for anyone reading this in the future, Number.MIN_VALUE = "The smallest representable non-negative, non-zero, number" So the actual smallest number is negative Num