     
         :returns: The newly created date representing the first second of the day
     */
-    private func beginningOfDay(date:NSDate) -> NSDate {
+    public func beginningOfDay(date:NSDate) -> NSDate {
         let components = self.calendar.components(
             (.CalendarUnitYear | .CalendarUnitMonth | .CalendarUnitDay), fromDate: date
         )

    
        :returns: The newly created date representing the first second of the hour
    */
    private func beginningOfHour(date:NSDate) -> NSDate {
        let components = self.calendar.components(
            (.CalendarUnitYear | .CalendarUnitMonth | .CalendarUnitDay | .CalendarUnitHour), fromDate: date
        )

    
        :returns: The newly created date representing the first second of the month
    */
    public func beginningOfMonth(date:NSDate) -> NSDate {
        let components = self.calendar.components((.CalendarUnitYear | .CalendarUnitMonth), fromDate: date)
        
        return self.calendar.dateFromComponents(components)!
