Skip to content
This repository has been archived by the owner on Nov 6, 2021. It is now read-only.

uli-weltersbach/ISO-8601-Week-Dates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The .NET Framework doesn't correctly determine the ISO 8601 compliant number of a week within a year, as outlined in http://support.microsoft.com/kb/200299. This is a problem when working within the EU especially, as most countries here use ISO 8601 week numbers.

Although there are a lot of code samples to be found on e.g. Stack Overflow solving the problem, I found most of them to involve too many magic numbers to be acceptable for production code.

The following functionality is inspired by the concept of week dates and is comprised of a Week and a WeekDate class.

About

ISO 8601 compliant week and week date C# implementation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages