JavaにおけるDateクラスgetTime()のメソッド

951 ワード

JavaにおけるDateクラスgetTime()のメソッド
1.getTime()
    /**
     Returns the number of milliseconds since January 1, 1970, 00:00:00 GMT   represented by this Date object.
         GMT 1970-01-01 00:00:00  date         。
     
      @return  the number of milliseconds since January 1, 1970, 00:00:00 GMT   represented by this date.
     */
     
    public long getTime() {
        return getTimeImpl();
    }

2.注
ミリ秒数を返します!