<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>excite-takayuki-miura</author_name>
  <author_url>https://blog.hatena.ne.jp/excite-takayuki-miura/</author_url>
  <blog_title>エキサイト TechBlog.</blog_title>
  <blog_url>https://tech.excite.co.jp/</blog_url>
  <categories>
  </categories>
  <description>こんにちは。 エキサイト株式会社の三浦です。 JSON上の日付文字列をDateTime型に変換するのはJavaではよくあると思いますが、その際の注意点について書いていきます。 JSONの日付文字列の変換方法 まずは、通常の変換方法について見ていきます。 例えば、 { &quot;sampleDate&quot;: &quot;2021-01-01T10:10:00&quot; } のような形で日付が渡された場合は、 @Data public class SampleModel { @JsonFormat(pattern = &quot;yyyy-MM-dd'T'HH:mm:ss&quot;) private LocalDateTime sampleDa…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.excite.co.jp%2Fentry%2F2021%2F10%2F04%2F162031&quot; title=&quot;Javaで、JSONのタイムゾーン込みの日付文字列をDateTime型に変換する際の注意点 - エキサイト TechBlog.&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-10-04 16:20:31</published>
  <title>Javaで、JSONのタイムゾーン込みの日付文字列をDateTime型に変換する際の注意点</title>
  <type>rich</type>
  <url>https://tech.excite.co.jp/entry/2021/10/04/162031</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
