java.text.SimpleDateFormat は、日付のフォーマット(Date日付型をString文字列型へ変換)と解析(String文字列型をDate日付型へ変換)を行うためのシンプルなクラスです。 本文はSimpleDateFormatを使って、String/Date型の変換方法について、簡単なサンプルから学びたいと思います。 java.text.SimpleDateFormatの型階層 java.lang.Object ∟ java.text.Format ∟ java.text.DateFormat ∟ java.text.SimpleDateFormat java.text.SimpleDateFormatでString/Date型の変換 サンプルからみてみます。 TestSimpleDateFormat.java public