<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>AJYA</author_name>
  <author_url>https://blog.hatena.ne.jp/AJYA/</author_url>
  <blog_title>ソフトウェア開発者の日常</blog_title>
  <blog_url>https://ajya.hatenablog.jp/</blog_url>
  <categories>
    <anon>仕事</anon>
  </categories>
  <description>昨日書いた記事と同様に、ロジックについての記事を書きます。 ajya.hatenablog.jp 予約ができる時間帯なのか判定したい 指定された時間帯が、予約できる時間帯なのか判定するロジックが必要になりました。前提として、 既に予約されている場合があり、予約の開始日時／予約の終了日時がデータベースに登録されている。 という条件があります。 具体的にどのように設定されているか例を書くと、予約済の開始日時／予約済の終了日時が、 予約済の開始：2020年1月6日(月)8時～予約済の終了：2020年1月6日(月)20時 予約済の開始：2020年1月8日(水)4時～予約済の終了：2020年1月8日(水…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fajya.hatenablog.jp%2Fentry%2F2020%2F01%2F09%2F223000&quot; title=&quot;指定された時間帯が、予約できる時間帯なのか否かを判定する方法 - ソフトウェア開発者の日常&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/A/AJYA/20200109/20200109221821.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-01-09 22:30:00</published>
  <title>指定された時間帯が、予約できる時間帯なのか否かを判定する方法</title>
  <type>rich</type>
  <url>https://ajya.hatenablog.jp/entry/2020/01/09/223000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
