<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuheiomori0718</author_name>
  <author_url>https://blog.hatena.ne.jp/yuheiomori0718/</author_url>
  <blog_title>メモ置き場</blog_title>
  <blog_url>https://y0m0r.hateblo.jp/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>2つのdatetime型の期間内の日毎、または月毎にdatetimeを返すジェネレータ start_dateとend_dateの前後関係などは考慮していない # coding=utf-8 from datetime import datetime, timedelta from dateutil.relativedelta import relativedelta def date_span(start_date, end_date): &quot;&quot;&quot;start_date、end_dateの期間に含まれる日毎のdatetimeオブジェクトを返すジェネレータ &quot;&quot;&quot; for n in range((en…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20120616%2F1339854322&quot; title=&quot;2つのdatetime型の期間内で日毎、月毎に処理をする - メモ置き場&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>2012-06-16 22:45:22</published>
  <title>2つのdatetime型の期間内で日毎、月毎に処理をする</title>
  <type>rich</type>
  <url>https://y0m0r.hateblo.jp/entry/20120616/1339854322</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
