Class PublishDate

    • Constructor Detail

      • PublishDate

        public PublishDate()
    • Method Detail

      • equals

        public boolean equals​(Object other)
        Method equals.
        Overrides:
        equals in class Object
        Parameters:
        other - a other object.
        Returns:
        boolean
      • getFormat

        public String getFormat()
        Get date format to use.
        Returns:
        String
      • getPosition

        public String getPosition()
        Get where to place the date published (left, right, navigation-top, navigation-bottom, bottom).
        Returns:
        String
      • hashCode

        public int hashCode()
        Method hashCode.
        Overrides:
        hashCode in class Object
        Returns:
        int
      • setFormat

        public void setFormat​(String format)
        Set date format to use.
        Parameters:
        format - a format object.
      • setPosition

        public void setPosition​(String position)
        Set where to place the date published (left, right, navigation-top, navigation-bottom, bottom).
        Parameters:
        position - a position object.
      • toString

        public String toString()
        Method toString.
        Overrides:
        toString in class Object
        Returns:
        String