我想做一个14个月的压延机。但我不知道从哪里开始请帮助我。 [英] I want to make a calender with 14 months. but i don't know where to start please help me.

查看:43
本文介绍了我想做一个14个月的压延机。但我不知道从哪里开始请帮助我。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问候;



我有一个项目来建造一个虚构的日历,每个日历都有14个月30天,加上10或11个时间日(每隔四年增加第11个epagomenal日)例外情况。



这个日历于2000年9月12日早上6点00:00在格里高利日历开始。


请帮助我如何开始这个项目。



如果有可能我想使用.Net日历。



感谢您的时间。

解决方案

查看.Net框架附带的Calendar类。将它继承到您自己的类中,看看您是否可以扩展它以满足您的需求。基本上你需要覆盖Calendar类中的现有方法和属性。



如果这不适合你,你需要创建自己的控件。

查看 HebrewCalendar class [ ^ ]。您可以修改它,或者使用它来建立自己的实现。


Greetings;

I have a project to build a fictional Calender that has 14 months of 30 days each plus 10 or 11 epagomena days (the 11th epagomenal day is added every four years without exception).

And this calender started on 6:00:00 morning, September 12, 2000 in Gregorian Calender.

Please help me how to get start with this project.

If it''s possible i would like to use the .Net Calender.

Thank You for your time.

解决方案

Check out the Calendar class that comes with .Net framework. Inherit it into your own class and see if you can extend it to fit to your needs. Essentially you will need to override existing methods and properties in the Calendar class.

If that does not suit you, you will need to create your own control.


Take a look at the HebrewCalendar class[^]. You may be able to modify that, or use it to base your own implementation on.


这篇关于我想做一个14个月的压延机。但我不知道从哪里开始请帮助我。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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