Recommendations for Working with Date Formats

General Info

In Universe MDM 6.x validity periods in the following formats are accepted:

  • yyyy-MM-dd'T'HH:mm:ss.SSS

  • yyyy-MM-dd'T'HH:mm:ss.SSS'Z'

  • yyyy-MM-dd'T'HH:mm:ss.SSS+00:00

In Universe MDM 5.x only the format is used ISO 8601 (yyyy-MM-dd'T'HH:mm:ss.SSS).

The date format is set in the file backend.properties.

Parameters names in Universe MDM 6.x:

  • org.unidata.mdm.data.validity.period.start

  • org.unidata.mdm.data.validity.period.end

Parameters names in Universe MDM 5.x:

  • unidata.validity.period.start

  • unidata.validity.period.end

Warning

Parameters ...start и ...end must have the same date format, otherwise the system will not start

Migration from 5.x to 6.x

When migrating from versions Universe MDM 5.х to Universe MDM 6.х several conditions must be met:

  • Date formats should be the same for both systems.

  • In order to avoid date offset and index splitting, it is necessary that the 5.x and 6.x versions match the number of periods specified in backend.properties, for example:

    • 1900-01-01T00:00:00.000 - start

    • 9999-12-31T23:59:59.999 - end

Note

For MDM 6.x recommended default date the end of 2500 year. After migrating to 6.x, you need to change the date limit