{"action":"opened","issue":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/45","labels_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/45/comments","events_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/45/events","html_url":"https://github.com/chrsmith/google-api-java-client/issues/45","id":59374391,"number":45,"title":"Error parsing Date with DateTime","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-01T03:23:13Z","updated_at":"2015-03-01T03:23:14Z","closed_at":"2015-03-01T03:23:13Z","body":"```\nVersion of google-api-java-client (e.g. 1.1.0-alpha)? 1.1.0-alpha\n\n\nJava environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)? 1.6\n\n\nDescribe the problem.\nThis test currently failed, when hour = 24. Replace hour=24 by hour=0 to solve \nthe issue in the parseRfc3339.\n\nDateTime date2 = DateTime.parseRfc3339(\"2010-10-18T24:31:49Z\");\n\t\tcalendar.setTimeInMillis(date2.value);\n\t\tassertEquals(18,calendar.get(GregorianCalendar.DAY_OF_MONTH));\n\n\nHow would you expect it to be fixed?\n\n\n```\n\nOriginal issue reported on code.google.com by `olivier....@gmail.com` on 18 Oct 2010 at 1:15"}}