在C#/ .NET中处理基督之前的日期的(最好的)方式是什么? [英] What is the (best) way to handle dates before Christ in C#/.NET?

查看:103
本文介绍了在C#/ .NET中处理基督之前的日期的(最好的)方式是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有内置的支持?如果没有,是否有任何关于处理这些日期的共识?






链接到自己编码的解决方案或其片段,非常欢迎。

解决方案

这个范围内的日期没有内置的支持,所以你必须自己编码。 p>

这是一个例子 http://flipbit.co.uk/2009/03/representing-large-ad-and-bc-dates-in-c.html


Is there any built-in support for that? And if not, is there any consensus about handling such dates?


Links to owncoded solutions, or fragments of it, are very welcome.

解决方案

There is no built in support for dates in this range so you will have to code your own.

Here is an example http://flipbit.co.uk/2009/03/representing-large-ad-and-bc-dates-in-c.html.

这篇关于在C#/ .NET中处理基督之前的日期的(最好的)方式是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆