Click here to Skip to main content
15,893,904 members
Articles / Programming Languages / C#

A TimeZone Aware DateTime Implementation

Rate me:
Please Sign up or sign in to vote.
3.56/5 (10 votes)
24 Feb 2010CPOL6 min read 70.4K   466   37  
An implementation that wraps DateTime to allow for keeping track of TimeZone state

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DateTimeZone", "DateTimeZone\DateTimeZone.csproj", "{C59336F8-DED8-4866-B1FF-F31ACCDB906B}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{CD1A9B3F-BDAB-4A6D-883D-D1B30E3ADB60}"
	ProjectSection(SolutionItems) = preProject
		DateTimeZone.vsmdi = DateTimeZone.vsmdi
		LocalTestRun.testrunconfig = LocalTestRun.testrunconfig
	EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestDateTimeZone", "TestDateTimeZone\TestDateTimeZone.csproj", "{8131F4DD-5670-42EF-8E2D-D454252BEDB5}"
EndProject
Global
	GlobalSection(TestCaseManagementSettings) = postSolution
		CategoryFile = DateTimeZone.vsmdi
	EndGlobalSection
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{C59336F8-DED8-4866-B1FF-F31ACCDB906B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{C59336F8-DED8-4866-B1FF-F31ACCDB906B}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{C59336F8-DED8-4866-B1FF-F31ACCDB906B}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{C59336F8-DED8-4866-B1FF-F31ACCDB906B}.Release|Any CPU.Build.0 = Release|Any CPU
		{8131F4DD-5670-42EF-8E2D-D454252BEDB5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{8131F4DD-5670-42EF-8E2D-D454252BEDB5}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{8131F4DD-5670-42EF-8E2D-D454252BEDB5}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{8131F4DD-5670-42EF-8E2D-D454252BEDB5}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Norway Norway
http://www.linkedin.com/in/steinardragsnes

Comments and Discussions