特別完整、強大的日期操作管理類庫:SwiftDate

x286 9年前發布 | 11K 次閱讀 SwiftDate Apple Swift開發

特別完整、強大的日期操作管理類庫。它幾乎涵蓋了已知開源日期類庫所有優秀特性。

Features

  • Math operations with dates(ie. myDate+2.week+1.hour)
  • Easy compare using<,>,==,<=,>=operators
  • Easy individual date component set/get
  • Easy creation with common formats or custom formats
  • Powerful .toString methods with support for relative dates (ie. "2hours"...)
  • Many shortcuts to get intervals and common dates (yesterday,tomorrow...)
  • ... check out documentation below!
  • </ul>

    Requirements

 本文由用戶 x286 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!