blob: 60372cdf95dddd3956b7847c91308b2a34028c4c [file] [log] [blame]
{
"name": "DateInRegion",
"version": "0.5.2",
"summary": "Swift date struct to convert NSDate objects between calendars, time zones & locales",
"description": "# DateInRegion\n\n[![CI Status](http://img.shields.io/travis/Hout/DateInRegion.svg?style=flat)](https://travis-ci.org/Hout/DateInRegion)\n[![Version](https://img.shields.io/cocoapods/v/DateInRegion.svg?style=flat)](http://cocoapods.org/pods/DateInRegion)\n[![License](https://img.shields.io/cocoapods/l/DateInRegion.svg?style=flat)](http://cocoapods.org/pods/DateInRegion)\n[![Platform](https://img.shields.io/cocoapods/p/DateInRegion.svg?style=flat)](http://cocoapods.org/pods/DateInRegion)\n\nDateInRegion is a wrapper around NSDate that exposes the properties of NSDateComponents, NSCalendar, NSTimeZone, NSLocale and NSDateFormatter. We are not there yet, but the intention is to replace your occurrence of NSDate with DateInRegion and get the same functionality plus lots of local date/calendar/time zone/formatter goodies. Thus offering date functions with a flexibility that I was looking for when creating this library:\n\n- Use the object as an NSDate. I.e. as an absolute time.\n- Offers many NSDate & NSDateComponent vars & methods\n- Initialise a date with any combination of components\n- Default date is `NSDate()`\n- Default calendar is `NSCalendar.currentCalendar()`\n- Default time zone is `NSTimeZone.defaultTimeZone()`\n- Default locale is `NSLocale.currentLocale()`\n- Contains a date (NSDate), a calendar (NSCalendar), a locale (NSLocale) and a timeZone (NSTimeZone) property\n- Implements the ``Equatable`` & ``Comparable`` protocols betwen dates with operators. E.g. `==, !=, <, >, <=, >=`\n- Implements the ``Hashable`` protocol so the date can be used as a key in a Dictionary.\n- implements date addition and subtraction operators with date components. E.g. `date + 2.days`\n- DateInRegion is immutable, so thread safe. It contains a constructor to easily create new ``DateInRegion`` occurrences with some properties adjusted.",
"homepage": "https://github.com/Hout/DateInRegion",
"license": "MIT",
"authors": {
"Hout": "through Github"
},
"source": {
"git": "https://github.com/Hout/DateInRegion.git",
"tag": "0.5.2"
},
"platforms": {
"ios": "9.0",
"osx": "10.10",
"tvos": "9.0"
},
"requires_arc": true,
"source_files": "Pod/Classes/**/*"
}