登录
首页 » c++ » 通用万年历C++类

通用万年历C++类

于 2022-10-21 发布 文件大小:2.81 kB
0 128
下载积分: 2 下载次数: 1

代码说明:

  LONG lDaysFrom1900(myDATE date);//date与1900年相差的天数   UINT lYearDays(UINT y);//农历y年的总天数   UINT leapDays(UINT y);//传回农历 y年闰月的天数   UINT leapMonth(UINT y);// 传回农历 y年闰哪个月 1-12 , 没闰传回 0   UINT monthDays(UINT y,UINT m);//传回农历 y年m月的总天数   myDATE Lunar(myDATE date);//输入阳历日期,返回阴历日期   char* dayOfWeek(myDATE date);//输入阳历日期,返回星期几   char* getLunarString (myDATE date );// 输入阴历日期,得到表示农历的字串   UINT solarDays(UINT y,UINT m);//传回国历 y年某m+1月的天数

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • linux下获取yuv图片
    通过v4l2框架,实现摄像头的图片采集,图片格式为yuv格式,尺寸为640*480,有大量自己写的注释,但个人能力有限,可能有的地方写的不准确,只当借鉴吧
    2022-03-02 00:26:36下载
    积分:1
  • ziwang
    子网计算,输入IP地址和子网掩码后相与能算出网络号(Subnet calculation phase can be calculated by the network number, enter the IP address and subnet mask)
    2013-04-02 15:49:14下载
    积分:1
  • soci-3.1.0
    c++与mysql数据库通信,操作数据库部分代码(c++ with mysql database communication, operate the database part of the code)
    2012-06-11 10:00:47下载
    积分:1
  • Cohen-SutherlandLiang-Barsky
    基于VC环境下的直线裁剪算法Cohen-Sutherland算法和Liang-Barsky算法的实现(Based on the realization of linear cutting algorithm VC environment under the Cohen-Sutherland algorithm and Liang-Barsky algorithm)
    2012-10-24 18:58:06下载
    积分:1
  • SHT30
    说明:  基于STM32的SHT30温湿度传感器,官方示例程序。(STM32 - based SHT30 temperature and humidity sensor, the official sample program.)
    2019-06-13 14:25:47下载
    积分:1
  • C #源代码为图像压缩工具,技术开始
    C# 图片压缩工具源代码,技术新创,有创意-C# source code for image compression tools, technology start-ups and innovative
    2023-03-15 23:50:03下载
    积分:1
  • PSFB_V2G_C
    移相全桥 + 三相四桥臂的V2G发电程序,基于DSP28335编写,并网控制算法为PR控制。(Phase shifted full bridge + three-phase four leg V2G power generation program, written in DSP28335, and grid connected control algorithm is PR control.)
    2018-05-17 09:46:36下载
    积分:1
  • Protues-jiaocheng
    protues的教程,初学者的必备,可以学习很多东西,对自己收益很大(study protues)
    2013-11-28 11:53:19下载
    积分:1
  • Tnewsom123h
    使用自适应逼近的短期负荷预测,,为matlab代码,程序较为简单 (Short-term load forecasting using adaptive approximation for the matlab code, the procedure is relatively simple)
    2012-08-09 01:07:59下载
    积分:1
  • read_write
    这个程序是一个linux-arm 根文件系统读写驱动程序。(This program is a linux-arm root file system read and write driver)
    2013-10-17 20:15:06下载
    积分:1
  • 696518资源总数
  • 105901会员总数
  • 40今日下载