Package rma.swing
Class DateTimeGroup
java.lang.Object
rma.swing.DateTimeGroup
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidReturns a single element HecTimeArray object that contains a HecTime object and the timezone that it is in.voidsetDateTime(HecTimeArray hTimeArray) voidsetDateTime(HecTime hTime, int offsetFromGmt) Sets the date/time.voidsetDateTime(HecTime hTime, TimeZone tz) voidSets the display time zone for the date and time fields.
-
Constructor Details
-
DateTimeGroup
-
-
Method Details
-
setDateTime
-
setDateTime
-
setDateTime
Sets the date/time.- Parameters:
hTime- - the Date/Time to setoffsetFromGmt- - HOURLY offset that the date/time parameter is int
-
fillDateTimeFields
public void fillDateTimeFields() -
getDateTime
Returns a single element HecTimeArray object that contains a HecTime object and the timezone that it is in. This object is guaranteed to be non-null. -
setDisplayTimeZone
Sets the display time zone for the date and time fields. The timedata is adjusted to be in the given time zone and is redisplayed in the text fields.- Parameters:
tz- the time zone to use to display the time data.
-