Interface PeriodDuration

All Superinterfaces:
org.opengis.temporal.PeriodDuration
All Known Implementing Classes:
DefaultPeriodDuration

public interface PeriodDuration extends org.opengis.temporal.PeriodDuration
Placeholder for a GeoAPI interfaces which is still incomplete in GeoAPI 3.0. We reproduce here the GeoAPI 3.1-pending API. Note that at the time of writing, this is a bad API (values shall not be instances of InternationalString). This will be fixed in a future GeoAPI version.
Since:
0.3
Version:
0.3
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opengis.util.InternationalString
    A positive integer, followed by the character "D", which indicated the number of days in the period.
    org.opengis.util.InternationalString
    A positive integer, followed by the character "H", which indicated the number of hours in the period.
    org.opengis.util.InternationalString
    A positive integer, followed by the character "M", which indicated the number of minutes in the period.
    org.opengis.util.InternationalString
    A positive integer, followed by the character "M", which indicated the number of months in the period.
    org.opengis.util.InternationalString
    A positive integer, followed by the character "S", which indicated the number of seconds in the period.
    org.opengis.util.InternationalString
    A positive integer, followed by the character "Y", which indicated the number of years in the period.
  • Method Details

    • getYears

      org.opengis.util.InternationalString getYears()
      A positive integer, followed by the character "Y", which indicated the number of years in the period.
    • getMonths

      org.opengis.util.InternationalString getMonths()
      A positive integer, followed by the character "M", which indicated the number of months in the period.
    • getDays

      org.opengis.util.InternationalString getDays()
      A positive integer, followed by the character "D", which indicated the number of days in the period.
    • getHours

      org.opengis.util.InternationalString getHours()
      A positive integer, followed by the character "H", which indicated the number of hours in the period.
    • getMinutes

      org.opengis.util.InternationalString getMinutes()
      A positive integer, followed by the character "M", which indicated the number of minutes in the period.
    • getSeconds

      org.opengis.util.InternationalString getSeconds()
      A positive integer, followed by the character "S", which indicated the number of seconds in the period.