Class AbstractTemplateUserNotificationBuilder.NotificationTemporal

    • Constructor Detail

      • NotificationTemporal

        public NotificationTemporal​(Temporal temporal,
                                    ZoneId zoneIdReference,
                                    String language)
    • Method Detail

      • isDateExisting

        public boolean isDateExisting()
        Indicates if the date exist.
        Returns:
        true if exists, false otherwise.
      • getDayDate

        public String getDayDate()
        Gets the date of the day.
        Returns:
        a string.
      • getDate

        public String getDate()
        Gets the date with time (if the temporal has time data otherwise only date is returned).
        Returns:
        a string.
      • getFullDate

        public String getFullDate()
        Gets the date with hour data if the temporal has hour data.
        If the zone id is not the same of the platform, the zone id is also filled.
        Returns:
        a string.
      • isTimeExisting

        public boolean isTimeExisting()
        Indicates if the underlying temporal has time data.
        Returns:
        true if the time exists in the temporal, false otherwise.
      • getDayTime

        public String getDayTime()
        Gets the time data if the temporal supports such a chronology unit.
        Returns:
        a string.
      • getZonedDayTime

        public String getZonedDayTime()
        Gets the time data if the temporal supports such a chronology unit.
        Returns:
        a string.