{"action":"created","issue":{"url":"https://api.github.com/repos/tomoakimikami/dlq-management/issues/8","repository_url":"https://api.github.com/repos/tomoakimikami/dlq-management","labels_url":"https://api.github.com/repos/tomoakimikami/dlq-management/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/tomoakimikami/dlq-management/issues/8/comments","events_url":"https://api.github.com/repos/tomoakimikami/dlq-management/issues/8/events","html_url":"https://github.com/tomoakimikami/dlq-management/issues/8","id":149090593,"number":8,"title":"メッセージの日時を正しく表示する","user":{"login":"tomoakimikami","id":18298130,"avatar_url":"https://avatars.githubusercontent.com/u/18298130?v=3","gravatar_id":"","url":"https://api.github.com/users/tomoakimikami","html_url":"https://github.com/tomoakimikami","followers_url":"https://api.github.com/users/tomoakimikami/followers","following_url":"https://api.github.com/users/tomoakimikami/following{/other_user}","gists_url":"https://api.github.com/users/tomoakimikami/gists{/gist_id}","starred_url":"https://api.github.com/users/tomoakimikami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomoakimikami/subscriptions","organizations_url":"https://api.github.com/users/tomoakimikami/orgs","repos_url":"https://api.github.com/users/tomoakimikami/repos","events_url":"https://api.github.com/users/tomoakimikami/events{/privacy}","received_events_url":"https://api.github.com/users/tomoakimikami/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tomoakimikami/dlq-management/labels/bug","name":"bug","color":"ee0701"}],"state":"open","locked":false,"assignee":{"login":"tomoakimikami","id":18298130,"avatar_url":"https://avatars.githubusercontent.com/u/18298130?v=3","gravatar_id":"","url":"https://api.github.com/users/tomoakimikami","html_url":"https://github.com/tomoakimikami","followers_url":"https://api.github.com/users/tomoakimikami/followers","following_url":"https://api.github.com/users/tomoakimikami/following{/other_user}","gists_url":"https://api.github.com/users/tomoakimikami/gists{/gist_id}","starred_url":"https://api.github.com/users/tomoakimikami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomoakimikami/subscriptions","organizations_url":"https://api.github.com/users/tomoakimikami/orgs","repos_url":"https://api.github.com/users/tomoakimikami/repos","events_url":"https://api.github.com/users/tomoakimikami/events{/privacy}","received_events_url":"https://api.github.com/users/tomoakimikami/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-04-18T09:06:38Z","updated_at":"2016-04-20T02:18:28Z","closed_at":null,"body":"UTCのUNIXエポックタイムということだが、そのまま解釈して変換しても、正しい日時として処理することができない。\r\n変換方法を調査しないと。"},"comment":{"url":"https://api.github.com/repos/tomoakimikami/dlq-management/issues/comments/212214196","html_url":"https://github.com/tomoakimikami/dlq-management/issues/8#issuecomment-212214196","issue_url":"https://api.github.com/repos/tomoakimikami/dlq-management/issues/8","id":212214196,"user":{"login":"tomoakimikami","id":18298130,"avatar_url":"https://avatars.githubusercontent.com/u/18298130?v=3","gravatar_id":"","url":"https://api.github.com/users/tomoakimikami","html_url":"https://github.com/tomoakimikami","followers_url":"https://api.github.com/users/tomoakimikami/followers","following_url":"https://api.github.com/users/tomoakimikami/following{/other_user}","gists_url":"https://api.github.com/users/tomoakimikami/gists{/gist_id}","starred_url":"https://api.github.com/users/tomoakimikami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomoakimikami/subscriptions","organizations_url":"https://api.github.com/users/tomoakimikami/orgs","repos_url":"https://api.github.com/users/tomoakimikami/repos","events_url":"https://api.github.com/users/tomoakimikami/events{/privacy}","received_events_url":"https://api.github.com/users/tomoakimikami/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T02:18:28Z","updated_at":"2016-04-20T02:18:28Z","body":"本家のamqp-client(com.rabbitmq.client.impl.ValueReader)を見ても、timestampの処理は下記のようになっている。\r\n\r\n```java\r\n    /** Convenience method - reads a timestamp argument from the DataInputStream. */\r\n    private static Date readTimestamp(DataInputStream in)\r\n        throws IOException\r\n    {\r\n        return new Date(in.readLong()*1000);\r\n    }\r\n```\r\n\r\nLong型(64bit整数)で格納されているエポックタイムを取り出し、単位が秒なので1000倍してミリ秒とした上でDate型のコンストラクタに渡している。\r\nこの処理自体に不整合は見受けられない。"}}