• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Date-Only NSTimestamps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Date-Only NSTimestamps


  • Subject: Re: Date-Only NSTimestamps
  • From: "Pierce T. Wetter III" <email@hidden>
  • Date: Wed, 2 Jan 2008 16:58:17 -0700


On Jan 2, 2008, at 2:47 PM, Mike Schrag wrote:

It might be possible now using the new enum support in 5.4, but only as a hack, and I haven't looked at it.
It should, actually ... The bug I filed that I /think/ turned into this feature was to be able to do "CryptoString" that properly maps in and out of the DB, which is basically the same issue you're referring to but just with dates.

Yeah, then you could store dates in the database as INTEGERs, and have a class to map to/from timestamps as needed. So its not just enums in 5.4, you can map attributes in general? The release note says "support for enum in attribute conversion", but I had no idea of the details.


 Pierce
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Date-Only NSTimestamps
      • From: Q <email@hidden>
    • Re: Date-Only NSTimestamps
      • From: Mike Schrag <email@hidden>
References: 
 >Date-Only NSTimestamps (From: David Avendasora <email@hidden>)
 >Re: Date-Only NSTimestamps (From: "Pierce T. Wetter III" <email@hidden>)
 >Re: Date-Only NSTimestamps (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Progress bars and HTML generation
  • Next by Date: Re: Date-Only NSTimestamps
  • Previous by thread: Re: Date-Only NSTimestamps
  • Next by thread: Re: Date-Only NSTimestamps
  • Index(es):
    • Date
    • Thread