<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ch3cooh393</author_name>
  <author_url>https://blog.hatena.ne.jp/ch3cooh393/</author_url>
  <blog_title>酢ろぐ！</blog_title>
  <blog_url>https://blog.ch3cooh.jp/</blog_url>
  <categories>
    <anon>開発</anon>
    <anon>開発-iOS</anon>
  </categories>
  <description>開始日と終了日だけを渡された状況で、開始日と終了日から間にある年月日を求める方法を紹介します。 翌日の求め方 指定された日付から翌日(次の日)を求めるにはCalendar#date(byAdding:value:to:)を使います。 let today = Date() let tomorrow = Calendar.current.date(byAdding: .day, value: 1, to: today)! 開始日と終了日の間にある年月日を取得する func dates(startDate: Date, endDate: Date) -&gt; [Date] { var results =…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.ch3cooh.jp%2Fentry%2F20180806%2F1533517200&quot; title=&quot;iOSで開始日と終了日から間にある年月日を求める - 酢ろぐ！&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/c/ch3cooh393/20180806/20180806102218.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-08-06 10:00:00</published>
  <title>iOSで開始日と終了日から間にある年月日を求める</title>
  <type>rich</type>
  <url>https://blog.ch3cooh.jp/entry/20180806/1533517200</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
