On Dec 18, 2008, at 8:12 AM, Florijan Stamenkovic wrote:
Cool...
How in the world did you discover this?!? You didn't actually try to
do it???
I can pretty much guarantee this did not come from the current
documentation. :-P
Chuck
On Dec 18, 2008, at 00:12, Mike Schrag wrote:
I very rarely use qualifier format strings, but i have a special
case where I needed one, but i needed a timestamp literal in it ...
turns out you can cast inside of a qualifier format string:
EOQualifier q = EOQualifier.qualifierWithQualifierFormat("date =
(NSTimestamp)'2008-10-01 05:37:01 EST'", null);
You can actually cast to ANY object here, and if it's not a known
type, it looks like it will call a string constructor, passing it
the value. Fancy.
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/flor385%40mac.com
This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
This email sent to [email protected]
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]