Skip to content
This repository has been archived by the owner on Mar 29, 2018. It is now read-only.

Commit

Permalink
Add NSDate in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
PGLongo committed Jan 10, 2015
1 parent f38c696 commit dfac920
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,47 @@ Name | Signatures
**`bind`**|`bind <P, T> (function: (P...) -> T, _ parameters: P...) -> (() -> T)`
**`cached`**|`cached <P, R> (function: (P...) -> R) -> ((P...) -> R)`<br>`cached <P, R> (function: (P...) -> R, hash: ((P...) -> P)) -> ((P...) -> R)`

# NSDate #

#### Properties ####
Name | Signatures
---- | ----
**`year`** |`Int`
**`month`**|`Int`
**`weekday`** |`Int`
**`weekMonth`**|`Int`
**`days`** |`Int`
**`hours`**|`Int`
**`minutes`** |`Int`
**`seconds`**| `Int`

#### Instance Methods ####
Name | Signatures
---- | ----------
**`add`**|`add(seconds:Int=0, minutes:Int = 0, hours:Int = 0, days:Int = 0, weeks:Int = 0, months:Int = 0, years:Int = 0) -> NSDate`
**`addSeconds`**|`addSeconds (seconds:Int) -> NSDate `
**`addMinutes`**|`addMinutes (minute:Int) -> NSDate `
**`addHours`**|`addHours(hours:Int) -> NSDate `
**`addDays`**|`addDays(days:Int) -> NSDate `
**`addWeeks`**|`addWeeks(weeks:Int) -> NSDate`
**`addMonths`**|`addMonths(months:Int) -> NSDate`
**`addYears`**|`addYears(years:Int) -> NSDate `
**`isAfter`**|`isAfter(date: NSDate) -> Bool`
**`isBefore`**|`isBefore(date: NSDate) -> Bool`
**`getComponent`**|`getComponent (component : NSCalendarUnit) -> Int`

#### Operators ####

Name | Signatures
---- | ----------
**`==`**|`==(lhs: NSDate, rhs: NSDate) -> Bool`
**`<`**|`<(lhs: NSDate, rhs: NSDate) -> Bool`
**`>`**|`>(lhs: NSDate, rhs: NSDate) -> Bool`
**`<=`**|`<=(lhs: NSDate, rhs: NSDate) -> Bool`
**`>=`**|`>=(lhs: NSDate, rhs: NSDate) -> Bool`
**`==`**|`==(lhs: NSDate, rhs: NSDate) -> Bool`


# To Do #
* [X] Wiki
* [X] Xcode project for both iOS & OS X
Expand Down

0 comments on commit dfac920

Please sign in to comment.