<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shin</author_name>
  <author_url>https://blog.hatena.ne.jp/shin/</author_url>
  <blog_title>しんさんの出張所 はてなブログ編</blog_title>
  <blog_url>https://shinsan.hatenablog.jp/</blog_url>
  <categories>
    <anon>ソフトウェア技術</anon>
  </categories>
  <description>http://d.hatena.ne.jp/elm200/20100924/1285330288 例としてあげた「よいコード」はおいらにとってどっちもどっちの同じレベルのコード。判別を１からライブラリ使わずに書いてる時点でね。 いまどきの言語ならば日付処理のライブラリは大概持ってるので2月29日付近の処理をおこなって判別するのがシンプルでよい。直接的に2/29と値を入れて例外が出るかどうか、2/28に1を足したら月がかわったかどうか、3/1から1を引いたら29になったかどうかなどね。 ただ、設計書にif文でイコール判定をしろ、とかかれていることも珍しくないのでその場合そのまま書くのが正しい。2…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinsan.hatenablog.jp%2Fentry%2F20100927%2Fp2&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-09-27 00:00:01</published>
  <title>おいらの基準だと違うかな</title>
  <type>rich</type>
  <url>https://shinsan.hatenablog.jp/entry/20100927/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
