<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>frontline</author_name>
  <author_url>https://blog.hatena.ne.jp/frontline/</author_url>
  <blog_title>misc.log</blog_title>
  <blog_url>https://www.backyrd.net/</blog_url>
  <categories>
    <anon>業務日誌.NET</anon>
  </categories>
  <description>単体テストコードを書いていて、引数にDateTime型の年月日時刻情報を指定する関数があったので、そこにNothingを指定すると何が起きるのかを見てみました……。関数の中では、受け取ったDateTime型データをToStringで「〜.ToString(&quot;yyyyMMdd&quot;)」のように書式変換していたのですが、結果は以下の通りです。 受け取った時の引数値「#12:00:00 AM#」 ToString(&quot;yyyyMMdd&quot;)の結果: &quot;00010101&quot; ToString(&quot;HHmmss&quot;)の結果: &quot;000000&quot; へぇ…。ちなみに上記現象は.NET Framework 4.0。DateT…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.backyrd.net%2Fentry%2F20120423%2Fp3&quot; title=&quot; DateTime型引数にNothingを渡すと… - misc.log&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-04-23 00:00:00</published>
  <title> DateTime型引数にNothingを渡すと…</title>
  <type>rich</type>
  <url>https://www.backyrd.net/entry/20120423/p3</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
