tiger8888 / whucalendar Goto Github PK
View Code? Open in Web Editor NEW日历组件,带农历显示
License: MIT License
日历组件,带农历显示
License: MIT License
WHUCalendarCal.m 中自定义了方法dateFromMonthString ,我在测试的时候发现
2016年7月01 --> 2016-06-30 16:00:00 +0000
而在用所得的2016-06-30 16:00:00 +0000 使用api (这个api我理解是求当前时间所在月份一共多少天)
- (NSRange)rangeOfUnit:(NSCalendarUnit)smaller inUnit:(NSCalendarUnit)larger forDate:(NSDate *)date
得到了结果
2016-06-30 16:00:00 +0000 has 31 days
看这两个结果的话实际上都是错的,希望大大多多赐教?
不通过点击cell实现 我想代码调用某天的点击事件 这个可以实现么?
你的农历是咋计算的?查表么?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.