Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnVCL 组件包
» 关于cncalendar的一个问题
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 关于cncalendar的一个问题
Baer
新警察
UID 57528
Digest Posts 0
Credits 8
Posts 3
点点分 8
Reading Access 10
Registered 2011-1-4
Status Offline
#1
Post at 2011-1-4 14:03
Profile
|
Blog
|
P.M.
关于cncalendar的一个问题
关于干支历法的问题哦,比如己未日,过了晚上23点就应该变成庚申日了,但是系统还是己未日。就是23点到0点这段时间干支记法不应该和阳历那种走法。我不知道应该从哪改代码
Baer
新警察
UID 57528
Digest Posts 0
Credits 8
Posts 3
点点分 8
Reading Access 10
Registered 2011-1-4
Status Offline
#2
Post at 2011-1-4 23:02
Profile
|
Blog
|
P.M.
喵~啸哥来帮帮哦
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#3
Post at 2011-1-5 20:21
Profile
|
Blog
|
P.M.
要处理这种情况,需要在计算日干支时考虑上当前小时的因素。
我加了个新的overload方法,请在SVN上获取最新的CnCalendar代码试一试?
Baer
新警察
UID 57528
Digest Posts 0
Credits 8
Posts 3
点点分 8
Reading Access 10
Registered 2011-1-4
Status Offline
#4
Post at 2011-1-6 16:51
Profile
|
Blog
|
P.M.
回复 #3 Passion 的帖子
谢谢啸哥哈哈!弄好了!
另外演示程序里那个“二算!”那个过程,过23点还是显示当日哦,那里面引用的是cncalclass的东西哦
[
本帖最后由 Baer 于 2011-1-6 16:52 编辑
]
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#5
Post at 2011-1-6 21:37
Profile
|
Blog
|
P.M.
CnCalClass暂时没改,只改你提到的CnCalendar.pas,有空我把CnCalClass也改改。
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-22 01:39
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.008187 second(s), 7 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats