哪里使用DateTimeFormat.MonthName [12]?(Where DateTimeFormat.MonthName[12] is used?)

编程入门 行业动态 更新时间:2024-10-23 20:16:40
哪里使用DateTimeFormat.MonthName [12]?(Where DateTimeFormat.MonthName[12] is used?)

根据MSDN中的.Net DateTimeFormat.MonthName应该包含13个元素,其中12个元素应该是空字符串。 这个空字符串用于什么?

According to MSDN in .Net DateTimeFormat.MonthName should contain exactly 13 elements with 12 element should be empty string. What this empty string is used for?

最满意答案

对于指数12.指数0--11是实际月份,例如, en-US文化(1月,2月等)。 问题是有些Calendar有十三个月了。

For index 12. Indexes 0--11 are the actual months in, for example, the en-US culture (January, February, etc.). The issue is that some Calendars have thirteen months.

更多推荐

本文发布于:2023-07-27 17:48:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1293580.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:DateTimeFormat   MonthName

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!