 
 import UIKit
 
+/*
+Just remember these Four classes. These can be a life saviour in future:
+-- NSDate (for getting the current date and stuff)
+-- NSDateFormatter (DateToString ot StringToDate conversion and different formatting styles)
+-- NSDateComponents (Creating a date and dates oriented problem solving)
+-- NSCalender (used side by side with NSDateComponents and NSDate fot Dates related calculations)
+*/
 
 var currentDate = NSDate() // Getting the current date
 
-
+// Conversion of Date to String. Three methods are described here.
 var dateToString = NSDateFormatter.localizedStringFromDate(currentDate, dateStyle: NSDateFormatterStyle.MediumStyle, timeStyle: NSDateFormatterStyle.NoStyle)
 
 var dateToString2 = currentDate.description
 
 var dateToString3 = currentDate.descriptionWithLocale(nil)
 
+// ---------------------- Break ------------------------------
+
+// NSCalendar and NSDateComponents is having a very strong relation. Co-related with each other.
 let calendar = NSCalendar.currentCalendar()
 
 let dateComponents = NSDateComponents()

var date: NSDate
date = calendar.dateFromComponents(dateComponents)!

let dateComponents2 = NSDateComponents()
dateComponents2.hour = 5
dateComponents2.minute = 30

var calculatedDate = calendar.dateByAddingComponents(dateComponents2, toDate: currentDate, options: nil)


let components = calendar.components(.MonthCalendarUnit | .DayCalendarUnit, fromDate: currentDate)
components.day
components.month


let components2 = NSDateComponents()
components2.month = 3
components2.day = 19

var theDate = calendar.dateFromComponents(components2)
theDate

// ---------------------- Break ------------------------------




