Class GradsTimeStruct


  • public class GradsTimeStruct
    extends Object
    A class to hold a GrADS time structure. The full time spec is: HH:mm'Z'ddMMMyyyy (e.g. 12:04Z05Mar2011)
    • Field Detail

      • months

        public static final String[] months
        months
    • Constructor Detail

      • GradsTimeStruct

        public GradsTimeStruct()
    • Method Detail

      • toString

        public String toString()
        Get a String representation of this object
        Overrides:
        toString in class Object
        Returns:
        the GrADS time specification
      • getDate

        public Date getDate()
        Return this as a java Date object
        Returns:
        the corresponding Date