• java.lang.Object
    • com.here.sdk.search.ScheduleDetails

  • public final class ScheduleDetails
    extends java.lang.Object

    Encapsulates schedule details complying with the iCalendar specification: https://tools.ietf.org/html/rfc5545.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String duration
      Specifies a positive duration of time for the iCalendar component, for example "PT24H00M" (lasts 24h).
      java.lang.String recurrence
      The recurrence information for a iCalendar component, for example "FREQ:DAILY;BYDAY:MO,TU,WE,TH,FR,SA".
      java.lang.String start
      Specifies when the iCalendar component begins, for example "T000000" (starts at midnight).
    • Constructor Summary

      Constructors 
      Constructor Description
      ScheduleDetails​(java.lang.String start, java.lang.String duration, java.lang.String recurrence)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • start

        @NonNull
        public java.lang.String start

        Specifies when the iCalendar component begins, for example "T000000" (starts at midnight).

      • duration

        @NonNull
        public java.lang.String duration

        Specifies a positive duration of time for the iCalendar component, for example "PT24H00M" (lasts 24h).

      • recurrence

        @NonNull
        public java.lang.String recurrence

        The recurrence information for a iCalendar component, for example "FREQ:DAILY;BYDAY:MO,TU,WE,TH,FR,SA".

    • Constructor Detail

      • ScheduleDetails

        public ScheduleDetails​(@NonNull
                               java.lang.String start,
                               @NonNull
                               java.lang.String duration,
                               @NonNull
                               java.lang.String recurrence)

        Creates a new instance.

        Parameters:
        start -

        Specifies when the iCalendar component begins, for example "T000000" (starts at midnight).

        duration -

        Specifies a positive duration of time for the iCalendar component, for example "PT24H00M" (lasts 24h).

        recurrence -

        The recurrence information for a iCalendar component, for example "FREQ:DAILY;BYDAY:MO,TU,WE,TH,FR,SA".

    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object