测试已测试 | ✗ |
语言语言 | Obj-CObjective C |
许可协议 | MIT |
发布最后发布 | 2014年12月 |
由 Eric Horacek,Eric Horacek 维护。
NSDateComponents-CalendarUnits 由 Eric Horacek 编写。
NSDateComponents-CalendarUnits 是一个通过 NSCalendarUnit
值获取和设置日期组件的 NSDateComponents
分类。
这些方法原本打算作为 iOS7 中的 API 向外公开,但最终发布版中没有实现。请参阅 NSCalendar.h
中的代码行 473-507
,并注意神奇的 NS_ENABLE_CALENDAR_NEW_API
未定义。
通过 CocoaDocs 可以在线查看 NSDateComponents-CalendarUnits
的文档。
如果您想将 NSDateComponents-CalendarUnits
的文档安装到 Xcode 中,可以首先安装 Appledoc ($ brew install appledoc
),然后运行仓库根目录下的 NSDateComponents-CalendarUnits.xcodeproj
中的 Documentation
目标。
欢迎发送分叉请求、补丁和其他反馈。
Copyright (c) 2013-2014 Eric Horacek. All rights reserved.
This code is distributed under the terms and conditions of the MIT license.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.