Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #7598

Re: SimpleDateFormat

From Lew <lewbloch@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: SimpleDateFormat
Date 2011-09-05 17:34 -0700
Organization http://groups.google.com
Message-ID <62e01c4d-640b-4412-94da-2563af2dbe3b@glegroupsg2000goo.googlegroups.com> (permalink)
References <d25d19e9-5818-4e42-a035-3da993ac56d0@z8g2000yqe.googlegroups.com> <v44a67h81tfvu6evh5o7lm8s5afqjb0ll8@4ax.com> <73474dec-dfdc-4d01-b00a-d6b679853c38@glegroupsg2000goo.googlegroups.com> <euka67d8h7jede04e0j4hnk01ajrgienld@4ax.com>

Show all headers | View raw


Roedy Green wrote:
> Lew wrote, quoted or indirectly quoted someone who said :
>> Or use Arne's suggestion, which has the virtue of being compact and employing the standard API without having to post-process the output of 'format()'.
> 
> but arne [sic] does not exist in my universe.  I had [it] with him long ago and
> plonked him.

That neither invalidates his suggestion nor excuses your ignorance of the API.

I, too, was ignorant of the SimpleDateFormat API, at least of the methods Arne mentioned, but I am in the habit of reading the Javadocs.  The lesson for me, for the OP, and for you, too, is to check the Javadocs, in this case since the question related to 'SimpleDateFormat', the Javadocs for 'SimpleDateFormat'.

The trouble with your answer is that it was suboptimal in the context of the much, much better answer that Arne had provided.  This was a disservice to the OP.  I recommend that you swallow your ego and unplonk Arne.  After all, you are the one who's all about providing good information to those wishing to learn Java, aren't you?

-- 
Lew

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

SimpleDateFormat bob <bob@coolgroups.com> - 2011-09-04 18:14 -0700
  Re: SimpleDateFormat Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-09-04 21:22 -0400
    Re: SimpleDateFormat Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-09-04 22:30 -0400
  Re: SimpleDateFormat Arne Vajhøj <arne@vajhoej.dk> - 2011-09-04 22:18 -0400
  Re: SimpleDateFormat Roedy Green <see_website@mindprod.com.invalid> - 2011-09-05 11:12 -0700
    Re: SimpleDateFormat Lew <lewbloch@gmail.com> - 2011-09-05 13:11 -0700
      Re: SimpleDateFormat Roedy Green <see_website@mindprod.com.invalid> - 2011-09-05 15:57 -0700
        Re: SimpleDateFormat Arne Vajhøj <arne@vajhoej.dk> - 2011-09-05 19:38 -0400
        Re: SimpleDateFormat Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-09-05 19:38 -0400
          Re: SimpleDateFormat Roedy Green <see_website@mindprod.com.invalid> - 2011-09-14 18:27 -0700
            Re: SimpleDateFormat Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-09-14 21:38 -0400
              Re: SimpleDateFormat RedGrittyBrick <RedGrittyBrick@spamweary.invalid> - 2011-09-15 14:32 +0100
        Re: SimpleDateFormat markspace <-@.> - 2011-09-05 16:49 -0700
        Re: SimpleDateFormat Lew <lewbloch@gmail.com> - 2011-09-05 17:34 -0700
    Re: SimpleDateFormat Arne Vajhøj <arne@vajhoej.dk> - 2011-09-05 16:37 -0400

csiph-web