Abstract Date/Time Header Supports headers that have date/time as value
Create date-based header from string
Parameters: | string – |
---|---|
Return type: | AbstractDate |
Throws : | ExceptionInvalidArgumentException |
Set date output format
Parameters: | int – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Set the date for this header, this can be a string or an instance of DateTime
Parameters: | string|DateTime – |
---|---|
Return type: | AbstractDate |
Throws : | ExceptionInvalidArgumentException |
Return date for this header as an instance of DateTime
Return type: | DateTime |
---|