Nostalgia

I can tell you what I don’t miss about the Java -> Ruby switch…

Ruby:
4.days.ago

****

Java:
Start with java.util.Date, then use the java.util.DateFormat to… no, wait.

Um, I think you need a java.util.Calendar… so check out the API for java.util.GregorianCalendar and call the getInstance() method passing a java.util.TimeZone… no, that can’t be it.

Oh man, my head hurts: let’s just leave this at: “I don’t miss it”.

Advertisements

1 Comment

Filed under rails, Ruby

One response to “Nostalgia

  1. Don’t forget about that bug in Calendar that a certain ex-coworker found…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s