Package rma.swing
Class DateTimeGroup
java.lang.Object
rma.swing.DateTimeGroup
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhec.heclib.util.HecTimeArrayReturns a single element HecTimeArray object that contains a HecTime object and the timezone that it is in.voidsetDateTime(hec.heclib.util.HecTimeArray hTimeArray) voidsetDateTime(hec.heclib.util.HecTime hTime, int offsetFromGmt) Sets the date/time.voidsetDateTime(hec.heclib.util.HecTime hTime, TimeZone tz) voidSets the display time zone for the date and time fields.
-
Constructor Details
-
DateTimeGroup
-
-
Method Details
-
setDateTime
public void setDateTime(hec.heclib.util.HecTimeArray hTimeArray) -
setDateTime
-
setDateTime
public void setDateTime(hec.heclib.util.HecTime hTime, int offsetFromGmt) 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
public hec.heclib.util.HecTimeArray 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.
-