AddCalendarEvent(Calendar, string, int, int, int) Method

Adds a calendar event.
public static Calendar AddCalendarEvent(this Calendar calendar, string description, int year, int month, int day)
Namespace
Spectre.Console
Containing Type
CalendarExtensions

Parameters

Calendar calendar
The calendar.
string description
The calendar event description.
int year
The year of the calendar event.
int month
The month of the calendar event.
int day
The day of the calendar event.

Returns