 
 import Foundation
 
-public enum CalendarComponent {
+public enum TimeUnit {
     case Second
     case Minutes
     case Hour

        return calendar.dateByAddingComponents(dateComp, toDate: date, options: nil)
    }
    
    public class func dateByRemovingCalendarComponent(calendarComponent: CalendarComponent)(date:NSDate, value: UInt) -> NSDate?  {
        let val = -Int(value)
        let dateComp = NSDateComponents()
        switch calendarComponent {

            return NSCalendar.currentCalendar()
    }
    
    public class func dateByAddingCalendarComponent(calendarComponent: TimeUnit)(date:NSDate, value: UInt) -> NSDate?  {
        let val = Int(value)
        let dateComp = NSDateComponents()
        switch calendarComponent {
