//string[] days = { "lunes","martes","miércoles","jeuves","vIErnes","sábado","domingo" }; string[] days = { "L","M","X","J","V","S","D" };解决方法 你可能正在寻找
DateTimeFormatInfo.AbbreviatedDayNames
Gets or sets a one-dimensional array of type String containing the culture-specific abbreviated names of the days of the week.
或DateTimeFormatInfo.ShortestDayNames
Gets or sets a string array of the shortest unique abbreviated day names associated with the current DateTimeFormatInfo object.
例如:
CultureInfo.CurrentCulture.DateTimeFormat.AbbreviatedDaynames
回报
在de-de系统上.
总结以上是内存溢出为你收集整理的c# – .NET中有什么可以获得文化特有的所有工作日的缩写吗?全部内容,希望文章能够帮你解决c# – .NET中有什么可以获得文化特有的所有工作日的缩写吗?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)