Class AgendaDateUtils

java.lang.Object
org.exoplatform.agenda.util.AgendaDateUtils

public class AgendaDateUtils extends Object
  • Field Details

  • Method Details

    • parseAllDayDateToZonedDateTime

      public static ZonedDateTime parseAllDayDateToZonedDateTime(String dateString)
    • parseRFC3339ToZonedDateTime

      public static ZonedDateTime parseRFC3339ToZonedDateTime(String dateString, ZoneId zoneId)
    • parseRFC3339ToZonedDateTime

      public static ZonedDateTime parseRFC3339ToZonedDateTime(String dateString, ZoneId zoneId, boolean parseTimeZone)
    • toRFC3339Date

      public static String toRFC3339Date(ZonedDateTime zonedDateTime)
    • toRFC3339Date

      public static String toRFC3339Date(ZonedDateTime zonedDateTime, ZoneId zoneOffset, boolean allDay)
    • toRFC3339Date

      public static String toRFC3339Date(ZonedDateTime zonedDateTime, ZoneOffset zoneOffset)
    • parseRFC3339Date

      public static Date parseRFC3339Date(String dateString)
    • toRFC3339Date

      public static String toRFC3339Date(Date dateTime)
    • toDate

      public static Date toDate(ZonedDateTime datetime)
    • fromDate

      public static ZonedDateTime fromDate(Date date)
    • buildOccurrenceId

      public static String buildOccurrenceId(Date formTime)
    • buildOccurrenceId

      public static String buildOccurrenceId(ZonedDateTime formTime)
    • formatDateTimeWithSeconds

      public static String formatDateTimeWithSeconds(TemporalAccessor dateTime)
    • buildOccurrenceDateTime

      public static ZonedDateTime buildOccurrenceDateTime(String occurrenceId)
    • formatWithHoursAndMinutes

      public static String formatWithHoursAndMinutes(ZonedDateTime zonedDateTime)
    • formatWithYearAndMonth

      public static String formatWithYearAndMonth(ZonedDateTime zonedDateTime)
    • getDayNameFromDayAbbreviation

      public static final String getDayNameFromDayAbbreviation(List<String> dayNames)