<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuriken27</author_name>
  <author_url>https://blog.hatena.ne.jp/yuriken27/</author_url>
  <blog_title>yuriken27's blog</blog_title>
  <blog_url>https://yuriken27.hatenablog.com/</blog_url>
  <categories>
    <anon>objective-c</anon>
    <anon>iPhone</anon>
  </categories>
  <description>GoogleCalendarの予定をiPhoneに表示するアプリを作成中、 実機で動かすと、2012年4月1日の曜日が1日ずれていることを発見。4000年4月1日（土） ←2012年4月1日は日曜日…ん？4000年？？年まで変わってる！iPhoneの設定で、カレンダーの設定を和暦にしているとこうなる。 西暦に変更すればちゃんと「2012年4月1日（日）」と表示されるのだが。よく分からないので、Googleで調べてみると、以下のページを発見。カレンダー設定を和暦にすると2011年が西暦3999年と解釈されてしまう - 酢ろぐ！まさに同じ状態。文字列からNSDate型に変換するとき、逆にNSDat…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuriken27.hatenablog.com%2Fentry%2F20120331%2F1333196649&quot; title=&quot;iPhoneで和暦表示設定のとき、日付や曜日がずれる - yuriken27&amp;#39;s blog&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-03-31 21:24:09</published>
  <title>iPhoneで和暦表示設定のとき、日付や曜日がずれる</title>
  <type>rich</type>
  <url>https://yuriken27.hatenablog.com/entry/20120331/1333196649</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
