planet.calendar
クラス CalendarFormat

java.lang.Object
  上位を拡張 planet.calendar.CalendarFormat

public class CalendarFormat
extends java.lang.Object

カレンダー書式クラス


フィールドの概要
protected  CalendarForPlanet calendar
          カレンダー
protected  java.text.DateFormat dateFormat
          日付書式
protected static java.text.DecimalFormat DFORM
          数値書式
protected static java.util.TimeZone GMT
          GMTのタイムゾーン
protected static java.util.TimeZone LOCAL
          ローカルのタイムゾーン
 
コンストラクタの概要
CalendarFormat(CalendarForPlanet calendar)
          カレンダー書式を構築する
 
メソッドの概要
 java.lang.String[] getDefaultStrings()
          デフォルトの日付文字列表現を返す
 java.lang.String getGMTDateString()
          GMT 日付を表す文字列を取り出す
 java.lang.String getJDString()
          ユリウス日を表す文字列を取り出す
 java.lang.String getLocalDateString()
          ローカル日付を表す文字列を取り出す
 java.lang.String getMJDString()
          準ユリウス日を表す文字列を取り出す
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

GMT

protected static final java.util.TimeZone GMT
GMTのタイムゾーン


LOCAL

protected static final java.util.TimeZone LOCAL
ローカルのタイムゾーン


DFORM

protected static final java.text.DecimalFormat DFORM
数値書式


calendar

protected CalendarForPlanet calendar
カレンダー


dateFormat

protected java.text.DateFormat dateFormat
日付書式

コンストラクタの詳細

CalendarFormat

public CalendarFormat(CalendarForPlanet calendar)
カレンダー書式を構築する

パラメータ:
calendar - カレンダー
メソッドの詳細

getLocalDateString

public java.lang.String getLocalDateString()
ローカル日付を表す文字列を取り出す

戻り値:
ローカル日付の文字列表現

getGMTDateString

public java.lang.String getGMTDateString()
GMT 日付を表す文字列を取り出す

戻り値:
GMT 日付の文字列表現

getJDString

public java.lang.String getJDString()
ユリウス日を表す文字列を取り出す

戻り値:
ユリウス日の文字列表現

getMJDString

public java.lang.String getMJDString()
準ユリウス日を表す文字列を取り出す

戻り値:
準ユリウス日の文字列表現

getDefaultStrings

public java.lang.String[] getDefaultStrings()
デフォルトの日付文字列表現を返す

戻り値:
デフォルトの日付文字列を格納した配列