Examples of DateRange


Examples of ucar.nc2.units.DateRange

        }
        buff.append(" </ul>\n");
      }
    }

    DateRange tc = ds.getTimeCoverage();
    if (tc != null) {
      buff.append("<h3>TimeCoverage:</h3>\n<ul>\n");
      DateType start = tc.getStart();
      if ((start != null) && !start.isBlank())
        buff.append(" <li><em>  Start: </em> ").append(start.toDateTimeString()).append("\n");
      DateType end = tc.getEnd();
      if ((end != null) && !end.isBlank()) {
        buff.append(" <li><em>  End: </em> ").append(end.toDateTimeString()).append("\n");
      }
      TimeDuration duration = tc.getDuration();
      if ((duration != null) && !duration.isBlank())
        buff.append(" <li><em>  Duration: </em> ").append(StringUtil.quoteHtmlContent(duration.toString())).append("\n");
      TimeDuration resolution = tc.getResolution();
      if (tc.useResolution() && (resolution != null) && !resolution.isBlank()) {
        buff.append(" <li><em>  Resolution: </em> ").append(StringUtil.quoteHtmlContent(resolution.toString())).append("\n");
      }
      buff.append(" </ul>\n");
    }
View Full Code Here

Examples of ucar.nc2.units.DateRange

        ThreddsMetadata.GeospatialCoverage gc = MetadataExtractor.extractGeospatial(fmrc.getGridDataset());
        if (gc != null)
          tmi.setGeospatialCoverage(gc);
      }
      if (tmi.getTimeCoverage() == null) {
        DateRange dateRange = MetadataExtractor.extractDateRange(fmrc.getGridDataset());
        if (dateRange != null)
          tmi.setTimeCoverage(dateRange);
      }

      if (null != params) {
View Full Code Here

Examples of uk.nhs.interoperability.payloads.commontypes.DateRange

   
    template.setId("8371D2F1-123F-4A14-A1AC-C6C8023103CF");
    template.setClassCode(HL7ActType.Procedure.code);
    template.setEventCode(new CodedValue("73761001","colonoscopy","2.16.840.1.113883.2.1.3.2.4.15"));
    template.setEffectiveTime(
              new DateRange(new DateValue("201105192000+01"),
                      new DateValue("201105192045+01")));
   
    // Performer
    PersonWithOrganizationUniversal performer = new PersonWithOrganizationUniversal();
    performer.addPersonId(new PersonID()
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.