Monthly Archives: January 2012

Joda Time Timezones

I was tasked with comparing one date to another to see which one was greater. To compound the issue. They can be in different timezones. I tried to change the timezone of the DateTime object, but nothing happened. This is … Continue reading

Posted in Java, Joda-Time | Leave a comment

Removing non-digits from a String

An example is you have a phone number, but it has mark-up such as ellipses or dashes. phoneNumber is now equal to “5555550000”.

Posted in Java | Leave a comment