1. Java Date Format that allows - / or . as separators within date stackoverflow.com
What's the nicest way to parse a date that can be in one of the following formats
without creating 3 SimpleDateFormats and parsing against each ...
2. Java DateFormat and SimpleDateFormat returning a date that is incorrect stackoverflow.com
Today is Tuesday, February 9, 2010 and when I print the date I get the wrong date:
3. SimpleDateFormat give inconsistent results stackoverflow.com
I am trying to parse a date and I am getting different results when I run the code locally/BST compare to a server in Paris/CEST. I've reproduced the issue in a ...
4. Is this a Java DateFormat bug? stackoverflow.com
The pattern is "dd-MM-yyyy" I think the string "01-01-2010mwwwwwwwwwwwwwww" does not satisfy the pattern, but the following code shows the contrary. Anyone can explain why?
5. SimpleDateFormat format wrong values stackoverflow.com
The following code:
Using a default
6. Why Does Java's SimpleDateFormat parse this stackoverflow.com
Hi I've got a simple date format set up with a custom format string: MMddyy and I give it the following value to parse: 4 1 01 I don't think it should parse this because ...
7. Java SimpleDateFormat parse issue into WEKA stackoverflow.com
I swear I'm using the correct date format but I keep getting a parse error when loading into WEKA.
Here is an example dataset:
8. Parse short US date into yyyy-MM-dd, java stackoverflow.com
I want to parse the date "3/27/11" which I think is equal to US short date.
9. String to Date; Format of input varies stackoverflow.com
For the project I'm working on at the moment I need to convert a String to a Date. Unfortunately the date and time aren't formatted the same in all the Strings ...
10. Creating a custom week counter in Java? stackoverflow.com
I am trying to create a custom week counter but am having quite a lot of trouble and feel like I am going about it all wrong. The method should ...
11. Date format error with "2011-07-27T06:41:11+00:00" stackoverflow.com
I'm trying to format a time/date string:
This is throwing the error
I don't understand why I'm getting ...
12. DateFormat is printing new Date(0) as epoch + 1 hour stackoverflow.com
The following test fails:
expected "00:00:00 GMT" but was "01:00:00 GMT" Could someone point out where I'm being stupid please? I've spent longer looking at this ...
13. Java TimeZone conversions stackoverflow.com
I understand that java Date is timezoneless and trying to set different timezone on Java Calendar wouldn't convert date to an appropriate Time Zone. So I have tried following code