I'm trying to use NSGregorianDate.gregorianUnitsSinceDate( ). The function
description says the parameters are NSGregorianDate.IntRef, but the attached
examples use ints. When I try and put an int in (WO 4.0, java), it doesn't
like it. (Invalid type for method, I think it says.)
Do I have to use NSGregorianDate.IntRefs instead? And then getthe integer
out of it, or am I missing something obvious?
All in all, I'm used to date objects that can be converted into integers and
manipulated that way, so I was puzzled when dateOne < dateTwo failed to
work. While I like gregorianUnitsSinceDate's flexibility, I do miss the
option to simply do a numeric comparison. Ah well.
- Geoffrey
--
Geoffrey Wiseman,
New Media Developer, Medium One Productions
[EMAIL PROTECTED] http://www.mediumone.com/ (416)361-2030
"here is little effie's head whose brains are made of gingerbread"