<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>PlugOut</author_name>
  <author_url>https://blog.hatena.ne.jp/PlugOut/</author_url>
  <blog_title>Unknown Region</blog_title>
  <blog_url>https://plugout.hateblo.jp/</blog_url>
  <categories>
    <anon>Kotlin</anon>
  </categories>
  <description>ちょっと作ったのでここに記載。 日付関連のパースは、いつもちょっと面倒なのでExtensionを作ってしまった方が楽かなと。 実運用時にはフォーマットを外から与えるのではなく、別に専用のメソッドを作って中で固定して持ってしまった方が楽かもしれない。 ちなみにパースできない場合にはDateTimeParseExceptionを吐くのでご注意を。 （それが嫌ならtry-catchで括って返り値をNull許可にすればOK） StringExtension.kt import java.time.LocalDate import java.time.format.DateTimeFormatter i…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fplugout.hateblo.jp%2Fentry%2F2021%2F03%2F06%2F154843&quot; title=&quot;【kotlin】文字列を日時型へパースするExtension - Unknown Region&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>https://cdn-ak.f.st-hatena.com/images/fotolife/P/PlugOut/20180713/20180713184711.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-03-06 15:48:43</published>
  <title>【kotlin】文字列を日時型へパースするExtension</title>
  <type>rich</type>
  <url>https://plugout.hateblo.jp/entry/2021/03/06/154843</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
