Re: [flexcoders] How to tell if something is a Date

2009-09-13 Thread David Harris
Hi Guys. Thanks for the replies. @Paul: That was pretty much the conclusion I was coming to. The example I gave is a very much simplified example of the actual situation, as I didn't want to bore you all with the full scenario. The full senario is that I have a date property on a VO and I am pars

Re: [flexcoders] How to tell if something is a Date

2009-09-13 Thread Ryan Kruse
Try out flex.utils. I thing there is a getFullyQualifiedClassname method or something like that. That may work for null objects. Ryan On Sep 13, 2009 8:26 AM, "Paul Andrews" wrote: David Harris wrote: > Hi everyone, > > I have a situation where I want to tell a value is of type ... No, and

Re: [flexcoders] How to tell if something is a Date

2009-09-13 Thread Paul Andrews
David Harris wrote: > Hi everyone, > > I have a situation where I want to tell a value is of type date or not. > > Consider this: > > var b : Date; > > var s : String = describeType( b )@name.tostring(); > > Alert.show( >

[flexcoders] How to tell if something is a Date

2009-09-13 Thread David Harris
Hi everyone, I have a situation where I want to tell a value is of type date or not. Consider this: var b : Date; var s : String = describeType( b )@name.tostring(); Alert.show( ( b is