vobject.dateValue(dateString='') RFC
This is a DATE value type to represent a calendar date as a value of a property
. The object methods closely resembles the dateTimeValue
object.
dateString
is an optional constructor date time string parameter in the formatYYYY-MM-DD
. If omitted, the dateValue is defaulted to the current date.
Example:
20130714
which translates to July 14th, 2013
Type definition of the value. Useful when used in conjunction with properties
.
dateString
to parse into year, month, day. Expects the formatYYYY-MM-DD
. Ex: 2013-07-14
- returns rendered date string representation of the DATE value type. Ex: 2013-07-14
ics
string to be parsed. Expects formatYYYYMMDD
. Ex: 20130714
- returns rendered iCalendar string representation of the DATE value type. Ex: 20130714