Package rma.swing

Class DateTimeGroup

java.lang.Object
rma.swing.DateTimeGroup

public class DateTimeGroup extends Object
  • Constructor Details

  • Method Details

    • setDateTime

      public void setDateTime(HecTimeArray hTimeArray)
    • setDateTime

      public void setDateTime(HecTime hTime, TimeZone tz)
    • setDateTime

      public void setDateTime(HecTime hTime, int offsetFromGmt)
      Sets the date/time.
      Parameters:
      hTime - - the Date/Time to set
      offsetFromGmt - - HOURLY offset that the date/time parameter is int
    • fillDateTimeFields

      public void fillDateTimeFields()
    • getDateTime

      public 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

      public void setDisplayTimeZone(TimeZone tz)
      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.