|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.gnu6.six.Time
This is a storage class for time string of mlist. It can return start and end time for a process.
| Field Summary | |
static java.lang.String |
country
|
java.util.Date |
End
|
static java.lang.String |
language
|
java.util.Date |
Start
|
static java.lang.String |
TimeZone
|
| Constructor Summary | |
Time(java.lang.String startTime,
java.lang.String endTime,
java.lang.String timeZone)
Creates an instance of the class Time for a particular time zone. |
|
| Method Summary | |
java.util.Date |
getEnd()
Returns the date which is the terminal moment stored in the instance of the class Time. |
java.util.Date |
getStart()
Returns the date which is starting moment stored in the instance of the class Time. |
java.lang.String |
getTimeZone()
Returns the time zone used by the instance of the class Time. |
void |
setEnd(java.util.Date eNd)
Sets a terminal date for the process. |
void |
setStart(java.util.Date sTart)
Sets the date which is the starting moment stored in the instance of the class Time. |
static org.gnu6.six.Time |
timeFactory(java.lang.String startTime,
java.lang.String endTime)
Creates an instance of the class Time. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String language
public static final java.lang.String country
public java.util.Date Start
public java.util.Date End
public static java.lang.String TimeZone
| Constructor Detail |
public Time(java.lang.String startTime,
java.lang.String endTime,
java.lang.String timeZone)
throws java.lang.Exception
java.lang.Exception - if the arguments are not correctly defined.| Method Detail |
public static org.gnu6.six.Time timeFactory(java.lang.String startTime,
java.lang.String endTime)
throws java.lang.Exception
java.lang.Exception - if the arguments are not correctly defined.public java.util.Date getStart()
public void setStart(java.util.Date sTart)
public java.util.Date getEnd()
public void setEnd(java.util.Date eNd)
public java.lang.String getTimeZone()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||