public class AcquisitionTime extends ExtractTime
The acquisition time of the image, if specified in the metadata.

It is specified as the number of seconds from the epoch of 1970-01-01T00:00:00Z.

If the acquisition time is not specified, this feature will return NaN.

  • Constructor Details

    • AcquisitionTime

      public AcquisitionTime()
  • Method Details

    • extractTime

      protected Optional<ZonedDateTime> extractTime(ImageMetadata metadata)
      Description copied from class: ExtractTime
      Extracts the time from the given metadata to return as the feature-value (if non-empty).
      Specified by:
      extractTime in class ExtractTime
      Parameters:
      metadata - to extract a time from.
      Returns:
      the time, or empty if it's not specified