Class Time.TimeBuilder

java.lang.Object
org.ivoa.dm.caom2.Time.TimeBuilder
Enclosing class:
Time

public static class Time.TimeBuilder extends Object
A builder class for Time, mainly for use in the functional builder pattern.
  • Field Details

    • bounds

      public Interval bounds
      time bounds that include the data (cardinality changed in CAOM-2.5).
    • samples

      public List<IntervalM> samples
      detailed time coverage that include the data (refactored in CAOM-2.5).
    • calibration

      public CalibrationStatus calibration
      term describing the calibration of the time axis values.
    • dimension

      public Integer dimension
      number of discrete samples (pixels) on the time axis.
    • resolution

      public Double resolution
      median temporal resolution per pixel.
    • resolutionBounds

      public Interval resolutionBounds
      range of resolution within the bounds.
    • sampleSize

      public Double sampleSize
      median pixel size.
    • exposure

      public Double exposure
      mean exposure time per pixel.
    • exposureBounds

      public Interval exposureBounds
      range of exposure within the bounds.
  • Constructor Details

    • TimeBuilder

      public TimeBuilder()
  • Method Details

    • create

      public Time create()
      create a Time from this builder.
      Returns:
      an object initialized from the builder.