peSHIr.iCalendar
1.0.0
Prefix Reserved
dotnet add package peSHIr.iCalendar --version 1.0.0
NuGet\Install-Package peSHIr.iCalendar -Version 1.0.0
<PackageReference Include="peSHIr.iCalendar" Version="1.0.0" />
<PackageVersion Include="peSHIr.iCalendar" Version="1.0.0" />
<PackageReference Include="peSHIr.iCalendar" />
paket add peSHIr.iCalendar --version 1.0.0
#r "nuget: peSHIr.iCalendar, 1.0.0"
#:package peSHIr.iCalendar@1.0.0
#addin nuget:?package=peSHIr.iCalendar&version=1.0.0
#tool nuget:?package=peSHIr.iCalendar&version=1.0.0
About
What's this?
This library is a simple wrapper around Ical.Net that I have used to generate certain iCalendar content for some years.
As it is meant to be used for generating some sort of work schedules - including things like vacation periods, that can contain overlaps - the most useful extra logic would be the MergeMultipleAllDayEvents() method, that can merge a number of overlapping full day events. A very specific case I have used this for would be Merge_IsVrij_instances() that does this for a number of Dutch description title vacation periods. Make of this what you will, or simply do not use this package at all. 😉
Who created this?
My name is Jarno Peschier. I started programming on a Commodore 64 in high school, got a masters degree in Computer Science at Utrecht University near the end of the 20th century, specializing in GIS algorithms, and I have been developing software all my professional life.
In 2025 I started publishing some NuGet packages while working as a software engineer at Dutch engineering firm Iv, where I personally handled all software development around our scan vehicle (YouTube) using multiple third party software packages, C#, and PowerShell.
You might also know me by my online name of peSHIr, which is basically the way you write my last name phonetically in Klingon.
How do I use it?
Should you, really? Or would you use Ical.Net yourself with your own logic directly?
If you decide you do want to use this specific tangle of code, you could do something like this perhaps:
using peSHIr.Web.iCalendar;
//...
var cal = new CalendarEvents("Star Wars")
cal.AddGeneratedEvent("Updated", "This example content was generated at this time.", false);
cal.AddAllDay("May the Fourth", new DateTime(2026,5,4), "Star Wars");
string rfc5545 = cal.SerializeToString();
Credits
This library wouldn't have been possible without the following:
- Ical.Net - General purpose iCalendar NuGet package for RFC 5545 compliance
- NodaTime - General purpose date/time NuGet package by Jon Skeet et al., as used by Ical.Net
- xUnit - Community-focused unit testing tool for .NET by Brad Wilson
- FluentAssertions - Support library for using fluent unit test assertions by Dennis Doomen
- Polysharp - Generated, source-only polyfills for C# language features by Sergio Pedri
- peSHIr.Core - Hey, that sounds familiar...? It's by this guy 😉
You may also like
- My Link Tree
- My NuGet packages
- My English blog (long dead at the moment..)
- My Dutch blog (long dead at the moment..)
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- Ical.Net (>= 4.3.1)
- peSHIr.Core (>= 1.0.6)
-
net8.0
- Ical.Net (>= 4.3.1)
- peSHIr.Core (>= 1.0.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 115 | 5/11/2026 |
This code has been relatively stable for years now, so many changes from this version 1.0.0 are not expected.