net.aerith.misao.util
Class VsoljDate
java.lang.Object
|
+--net.aerith.misao.util.VsoljDate
- public class VsoljDate
- extends java.lang.Object
The VsoljDate
represents a date and time of
observation to report to VSOLJ (Variable Star Observers League in
Japan). It outputs the time in JST. In addition, when the time is
before 9 o'clock, it outputs the hour from 0 o'clock of the
previous day. For example, 2000 Jan. 23 04:56 JST will be output
as 2000 Jan. 22 28:56.
Constructor Summary |
VsoljDate(JulianDay jd)
Constructs a VsoljDate of the specified date and
time. |
Method Summary |
java.lang.String |
getOutputString(int month_format,
int date_accuracy)
Returns a string representation of the state of this object
in the specified format. |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
julian_day
protected JulianDay julian_day
- The Julian Day.
VsoljDate
public VsoljDate(JulianDay jd)
- Constructs a
VsoljDate
of the specified date and
time.
- Parameters:
jd
- the date and time.
getOutputString
public java.lang.String getOutputString(int month_format,
int date_accuracy)
- Returns a string representation of the state of this object
in the specified format.
- Parameters:
month_format
- the number of format to output month.date_accuracy
- the number of accuracy.- Returns:
- a string representation of the state of this object.