Extensive time period calculations and individual calendar periods. A while ago we had to write an EPG for a WP8 TV app that we're building for a client. As part of this we had the need to do some pretty difficult DateTime calculations. Finding out if a C# DateTime is within a time range is [...]