Timeline for Java Timestamp string parsing
Current License: CC BY-SA 2.5
Post Revisions
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 22, 2011 at 21:14 | answer | added | crowne | timeline score: 0 | |
| Mar 22, 2011 at 21:03 | vote | accept | pjames | ||
| Mar 22, 2011 at 21:03 | vote | accept | pjames | ||
| Mar 22, 2011 at 21:03 | |||||
| Mar 22, 2011 at 21:03 | vote | accept | pjames | ||
| Mar 22, 2011 at 21:03 | |||||
| Mar 22, 2011 at 20:23 | comment | added | Travis Webb |
@iluxa Not true, see: download.oracle.com/javase/1.4.2/docs/api/java/text/…. It has the example string "GMT-08:00" that is supposed to match against z
|
|
| Mar 22, 2011 at 20:23 | answer | added | eaj | timeline score: 0 | |
| Mar 22, 2011 at 20:23 | comment | added | Pops | Could you post some code? There are a couple different ways you could be approaching this, and how we answer depends on which one you're using. | |
| Mar 22, 2011 at 20:23 | answer | added | Freiheit | timeline score: 1 | |
| Mar 22, 2011 at 20:21 | comment | added | iluxa | I think the : symbol throws it off: SimpleDateFormat wants "-0500", not "-05:00". One way to solve this - bite the bullet, manually remove that colon, then pass it to SimpleDateFormat | |
| Mar 22, 2011 at 20:15 | comment | added | Travis Webb |
You should be able to match "00:00-05:00" with a single z (lowercase). This doesn't work?
|
|
| Mar 22, 2011 at 20:08 | history | asked | pjames | CC BY-SA 2.5 |