         return dateStringFormatter.stringFromDate(self)
     }
     
+    /**
+     *  Compare two dates
+     *
+     *  @param anotherDate  date to compare
+     *
+     *  @return enum `NSDateCompare`
+     */
     public func compareTo(anotherDate:NSDate) -> NSDateCompare {
         
         let comparation = self.compare(anotherDate)


import UIKit

public enum NSDateCompare {
    case Undefined
    case Later
    case Equals

extension NSDate {
    
    // MARK: Public
    
   /**
    *  Add seconds to date
    *
    *  @param second      Number of seconds to add
    *
    *  @discussion If the number of seconds is greater than 60, minutes will be affected
    *
    *  @return New `NSDate` modify
    */
    public func addSeconds(second:Int) -> NSDate {
        return addTime(year: 0, month: 0, hour: 0, minute: 0, second: second)
    }
    
    /**
     *  Add minutes to date
     *
     *  @param minutes      Number of minutes to add
     *
     *  @discussion If the number of minutes is greater than 60, hour will be affected
     *
     *  @return New `NSDate` modify
     */
    public func addMinutes(minutes:Int) -> NSDate {
        return addTime(year: 0, month: 0, hour: 0, minute: minutes, second: 0)
    }
    
    /**
     *  Add hours to date
     *
     *  @param hours      Number of hours to add
     *
     *  @discussion If the number of hour is greater then 24, day will be affected
     *
     *  @return New `NSDate` modify
     */
    public func addHours(hours:Int) -> NSDate {
        return addTime(year: 0, month:0, hour:hours, minute:0, second:0)
    }
    
    /**
     *  Add month to date
     *
     *  @param month      Number of month to add
     *
     *  @discussion If the number of month is greater then 12, year will be affected
     *
     *  @return New `NSDate` modify
     */
    public func addMonths(month:Int) -> NSDate {
        return addTime(year: 0, month:month, hour:0, minute:0, second:0)
    }
    
    /**
     *  Add year to date
     *
     *  @param year      Number of minutes to add
     *
     *  @return New `NSDate` modify
     */
    public func addYears(year:Int) -> NSDate {
        return addTime(year:year, month:0, hour:0, minute:0, second:0)
    }
