<?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>rubyのActiveSupportを使うとDate型にend_of_monthというメソッドが追加され、Dateオブジェクトから月末のDateオブジェクトを得ることができます require 'active_support/core_ext/time/calculations' today = Date.today() puts today # =&gt; 2012-01-21 puts today.end_of_month # =&gt; 2012-01-31 pythonで月末のdatetimeオブジェクトを取得する必要があったので、以下のように実装してみました from datetime impo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20120123%2F1327274314&quot; title=&quot;Pythonで月末の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-01-23 08:18:34</published>
  <title>Pythonで月末のdatetimeオブジェクトを得る</title>
  <type>rich</type>
  <url>https://y0m0r.hateblo.jp/entry/20120123/1327274314</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
