public
static
|
new(
?string $uid = null,
DateTimeInterface|DateTimeValue|string|null $stamp = null,
DateTimeInterface|DateTimeValue|string|null $start = null,
?string $summary = null,
?string $description = null,
?string $url = null,
Status|string|null $status = null,
Classification|string|null $classification = null,
?int $sequence = null,
iterable<string> $categories = [],
CalAddress|string|null $organizer = null,
iterable<CalAddress|string> $attendees = [],
Rule|string|null $rrule = null,
iterable<DateTimeInterface|DateTimeValue|Period|string> $rdates = [],
iterable<DateTimeInterface|DateTimeValue|string> $exdates = [],
DateTimeInterface|DateTimeValue|string|null $recurrenceId = null,
?string $color = null,
iterable<Image|string> $images = [],
iterable<Link|string> $links = [],
iterable<Relation|string> $relatedTo = [],
PropertyList $properties = [],
): self
A new journal entry; the arguments are those of Event::new() without the end, the location
and the alarms (a journal entry has none).
A new journal entry; the arguments are those of Event::new() without the end, the location
and the alarms (a journal entry has none).
Parameters
| $uid |
UID, a random UUID when null
|
| $stamp |
DTSTAMP, now when null; written in UTC
|
| $start |
DTSTART: a DateTimeInterface (TZID of its IANA timezone or UTC), a DateTimeValue (also a DATE or a floating time) or an iCalendar string
|
| $status |
DRAFT, FINAL or CANCELLED
|
Throws
|
#
|