Class RecordingDateUtils
java.lang.Object
org.exoplatform.webconferencing.util.RecordingDateUtils
Reads and writes the dates a client gives and gets when it lists the
recordings of a call.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe message code of a date that cannot be read. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringformatDate(Date date) Writes a date as an ISO 8601 instant in UTC.static DateReads a date: an ISO 8601 date-time with an offset (2026-10-23T10:00:00Z,2026-10-23T10:00:00+02:00), a date-time without one, read in UTC, or a bare date, which stands for the start of that day in UTC, or for its end when it closes a range.
-
Field Details
-
RECORDINGS_INVALID_DATE
The message code of a date that cannot be read.- See Also:
-
-
Method Details
-
parseDate
Reads a date: an ISO 8601 date-time with an offset (2026-10-23T10:00:00Z,2026-10-23T10:00:00+02:00), a date-time without one, read in UTC, or a bare date, which stands for the start of that day in UTC, or for its end when it closes a range.- Parameters:
value- the date, or a blank value for noneendOfRange- true when the date closes a range- Returns:
- the date, or
nullwhen the value is blank - Throws:
IllegalArgumentException- with "webconferencing.recordings.invalidDate" when the value is not a date
-
formatDate
-