Examples of toDateTimeStringISO()


Examples of ucar.nc2.units.DateFormatter.toDateTimeStringISO()

    // temporalDomain/timePosition [1..*]
    for ( Date curDate : dates )
    {
      temporalDomainElem.addContent(
              new Element( "timePosition", gmlNS)
                      .addContent( formatter.toDateTimeStringISO( curDate )));
    }

      return temporalDomainElem;
  }

View Full Code Here

Examples of ucar.nc2.units.DateType.toDateTimeStringISO()

           || endIndex < 0 || endIndex > timeAxis.getSize() - 1 )
      {
        String availStart = timeAxis.getDateRange().getStart().toDateTimeStringISO();
        String availEnd = timeAxis.getDateRange().getEnd().toDateTimeStringISO();
        String msg = "Requested temporal range [" + requestStartTime.toDateTimeStringISO()
                     + " - " + requestEndTime.toDateTimeStringISO()
                     + "] not in available range [" + availStart + " - " + availEnd + "].";
        log.debug( "writeCoverageDataToFile(): " + msg );
        throw new WcsException( WcsException.Code.CoverageNotDefined, "Time", msg );
      }
      try
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.