<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yyama1556</author_name>
  <author_url>https://blog.hatena.ne.jp/yyama1556/</author_url>
  <blog_title>山崎屋の技術メモ</blog_title>
  <blog_url>https://www.shookuro.com/</blog_url>
  <categories>
    <anon>Java Tips</anon>
  </categories>
  <description>Java8 の LocalDate と DateTimeFormatter を使用した日付妥当性チェックについてです。2014 年に公開された Java8 を使用した日付妥当性チェックですが、すでに多くのサイトでサンプルが掲載されています。ただ、少し気になる実装も紹介されており、自分なりの正しい日付チェック方法を残しておきます。 public static boolean isCorrectDate(String dateStr) { if (dateStr == null || dateStr.length() != 10) { return false; } DateTimeFormatt…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shookuro.com%2Fentry%2F2017%2F07%2F23%2F163625&quot; title=&quot;Java8 での日付妥当性チェック - 山崎屋の技術メモ&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://images-fe.ssl-images-amazon.com/images/I/61ZkN1J7ETL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-07-23 16:36:25</published>
  <title>Java8 での日付妥当性チェック</title>
  <type>rich</type>
  <url>https://www.shookuro.com/entry/2017/07/23/163625</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
