<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kyon_mm</author_name>
  <author_url>https://blog.hatena.ne.jp/kyon_mm/</author_url>
  <blog_title>うさぎ組</blog_title>
  <blog_url>https://kyon-mm.hatenablog.com/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>Javaで日時を表すときはあの憎らしいCalendarクラスを使ったり、 素敵なJodaTimeライブラリを使うと思うんですが、 SQLを使うときにjava.sql.Timestampを使うことがあります。 Javaの日時に関連するクラスというのは大抵はgetTime()みたいなメソッドがあって、longを返すようになっています。 で、まぁ日時をこねくり回しているときにたまにgetTime()を使うわけで、Timestampでも同じようにつかってみたのですが、どうもうまくいかなかった。 Timestamp time1 = new Timestamp(2011 - 1900,3,11,12,34…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkyon-mm.hatenablog.com%2Fentry%2F20110424%2F1303606617&quot; title=&quot;TimestampのgetTimeには気をつけよう。 - うさぎ組&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>2011-04-24 09:56:57</published>
  <title>TimestampのgetTimeには気をつけよう。</title>
  <type>rich</type>
  <url>https://kyon-mm.hatenablog.com/entry/20110424/1303606617</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
