XmpDate constructor

init

Initializes a new instance of the XmpDate class.

def __init__(self, date_time):
    ...
ParameterTypeDescription
date_timeDateTimeA date-time value which is represented using a subset of ISO RFC 8601 formatting.

init

Initializes a new instance of the XmpDate class.

def __init__(self, date_string):
    ...
ParameterTypeDescription
date_stringstrThe string representation of date.

Exceptions

ExceptionDescription
ArgumentExceptionInvalid date format;date

See Also