AddCalendarEvent(Calendar, int, int, int) Method

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

Parameters

Calendar calendar
The calendar to add the calendar event to.
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