• 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: Java date questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java date questions


  • Subject: Re: Java date questions
  • From: Arturo PĂ©rez <email@hidden>
  • Date: Wed, 29 Oct 2003 22:57:19 -0500

On Wednesday, October 29, 2003, at 07:57 PM, email@hidden wrote:

[demime could not interpret encoding binary - treating as plain text]
This isn't a WO question, it's more of a Java question, but I can't seem
to figure it out anywhere.


I have an NSTimestamp. I want to subtract seven days from it. If it's
September 10, I want to end up with September 3. If it's September 1, I
want to end up with October 25.



Isn't it just a matter of calling NSTimestamp.timestampByAddingGregorianUnits()?


Or is the whole Calendar set/roll/add thing as confusing to you as it is to me?

And above, don't you mean August 25?

-------
WebObjects in Philadelphia.  You want a cheesesteak with that?
Visit http://webobjects.meetup.com
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Java date questions (From: email@hidden)

  • Prev by Date: Re: Java date questions
  • Next by Date: WO 5.2.2 - Getting an app to launch - java.lang.NoClassDefFoundError
  • Previous by thread: Re: Java date questions
  • Next by thread: Re: Java date questions
  • Index(es):
    • Date
    • Thread