Class OpeningHours.SpecialDay

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    OpeningHours

    public static class OpeningHours.SpecialDay
    extends java.lang.Object
    implements java.io.Serializable
    An indicator of special hours for a Place for a single day.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String date
      A date expressed in RFC3339 format in the local timezone for the place, for example 2010-12-31.
      java.lang.Boolean exceptionalHours
      True if there are exceptional hours for this day.
    • Constructor Summary

      Constructors 
      Constructor Description
      SpecialDay()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • date

        public java.lang.String date
        A date expressed in RFC3339 format in the local timezone for the place, for example 2010-12-31.
      • exceptionalHours

        public java.lang.Boolean exceptionalHours
        True if there are exceptional hours for this day. If true, this means that there is at least one exception for this day. Exceptions cause different values to occur in the subfields of currentOpeningHours and secondaryOpeningHours such as periods, DayOfWeek, openNow. The exceptions apply to the hours, and the hours are used to generate the other fields.
    • Constructor Detail

      • SpecialDay

        public SpecialDay()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object