{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///webpack/bootstrap 4312a940fbc10cc9d5b3","webpack:///./tmp/umd/index.js","webpack:///./tmp/umd/add_days/index.js","webpack:///./tmp/umd/parse/index.js","webpack:///./tmp/umd/add_hours/index.js","webpack:///./tmp/umd/add_iso_years/index.js","webpack:///./tmp/umd/get_iso_year/index.js","webpack:///./tmp/umd/start_of_iso_week/index.js","webpack:///./tmp/umd/start_of_week/index.js","webpack:///./tmp/umd/set_iso_year/index.js","webpack:///./tmp/umd/start_of_iso_year/index.js","webpack:///./tmp/umd/difference_in_calendar_days/index.js","webpack:///./tmp/umd/start_of_day/index.js","webpack:///./tmp/umd/add_milliseconds/index.js","webpack:///./tmp/umd/add_minutes/index.js","webpack:///./tmp/umd/add_months/index.js","webpack:///./tmp/umd/get_days_in_month/index.js","webpack:///./tmp/umd/add_quarters/index.js","webpack:///./tmp/umd/add_seconds/index.js","webpack:///./tmp/umd/add_weeks/index.js","webpack:///./tmp/umd/add_years/index.js","webpack:///./tmp/umd/closest_to/index.js","webpack:///./tmp/umd/compare_asc/index.js","webpack:///./tmp/umd/compare_desc/index.js","webpack:///./tmp/umd/difference_in_calendar_iso_weeks/index.js","webpack:///./tmp/umd/difference_in_calendar_iso_years/index.js","webpack:///./tmp/umd/difference_in_calendar_months/index.js","webpack:///./tmp/umd/difference_in_calendar_quarters/index.js","webpack:///./tmp/umd/get_quarter/index.js","webpack:///./tmp/umd/difference_in_calendar_weeks/index.js","webpack:///./tmp/umd/difference_in_calendar_years/index.js","webpack:///./tmp/umd/difference_in_days/index.js","webpack:///./tmp/umd/difference_in_hours/index.js","webpack:///./tmp/umd/difference_in_milliseconds/index.js","webpack:///./tmp/umd/difference_in_iso_years/index.js","webpack:///./tmp/umd/sub_iso_years/index.js","webpack:///./tmp/umd/difference_in_minutes/index.js","webpack:///./tmp/umd/difference_in_months/index.js","webpack:///./tmp/umd/difference_in_quarters/index.js","webpack:///./tmp/umd/difference_in_seconds/index.js","webpack:///./tmp/umd/difference_in_weeks/index.js","webpack:///./tmp/umd/difference_in_years/index.js","webpack:///./tmp/umd/distance_in_words/index.js","webpack:///./tmp/umd/is_before/index.js","webpack:///./tmp/umd/distance_in_words_to_now/index.js","webpack:///./tmp/umd/each_day/index.js","webpack:///./tmp/umd/end_of_day/index.js","webpack:///./tmp/umd/end_of_hour/index.js","webpack:///./tmp/umd/end_of_iso_week/index.js","webpack:///./tmp/umd/end_of_week/index.js","webpack:///./tmp/umd/end_of_iso_year/index.js","webpack:///./tmp/umd/end_of_minute/index.js","webpack:///./tmp/umd/end_of_month/index.js","webpack:///./tmp/umd/end_of_quarter/index.js","webpack:///./tmp/umd/end_of_second/index.js","webpack:///./tmp/umd/end_of_today/index.js","webpack:///./tmp/umd/end_of_tomorrow/index.js","webpack:///./tmp/umd/end_of_year/index.js","webpack:///./tmp/umd/end_of_yesterday/index.js","webpack:///./tmp/umd/format/index.js","webpack:///./tmp/umd/get_day_of_year/index.js","webpack:///./tmp/umd/start_of_year/index.js","webpack:///./tmp/umd/get_iso_week/index.js","webpack:///./tmp/umd/get_date/index.js","webpack:///./tmp/umd/get_day/index.js","webpack:///./tmp/umd/get_days_in_year/index.js","webpack:///./tmp/umd/is_leap_year/index.js","webpack:///./tmp/umd/get_hours/index.js","webpack:///./tmp/umd/get_iso_weeks_in_year/index.js","webpack:///./tmp/umd/get_milliseconds/index.js","webpack:///./tmp/umd/get_minutes/index.js","webpack:///./tmp/umd/get_month/index.js","webpack:///./tmp/umd/get_seconds/index.js","webpack:///./tmp/umd/get_year/index.js","webpack:///./tmp/umd/is_after/index.js","webpack:///./tmp/umd/is_equal/index.js","webpack:///./tmp/umd/is_first_day_of_month/index.js","webpack:///./tmp/umd/is_friday/index.js","webpack:///./tmp/umd/is_future/index.js","webpack:///./tmp/umd/is_last_day_of_month/index.js","webpack:///./tmp/umd/is_monday/index.js","webpack:///./tmp/umd/is_past/index.js","webpack:///./tmp/umd/is_same_day/index.js","webpack:///./tmp/umd/is_same_hour/index.js","webpack:///./tmp/umd/start_of_hour/index.js","webpack:///./tmp/umd/is_same_iso_week/index.js","webpack:///./tmp/umd/is_same_week/index.js","webpack:///./tmp/umd/is_same_iso_year/index.js","webpack:///./tmp/umd/is_same_minute/index.js","webpack:///./tmp/umd/start_of_minute/index.js","webpack:///./tmp/umd/is_same_month/index.js","webpack:///./tmp/umd/is_same_quarter/index.js","webpack:///./tmp/umd/start_of_quarter/index.js","webpack:///./tmp/umd/is_same_second/index.js","webpack:///./tmp/umd/start_of_second/index.js","webpack:///./tmp/umd/is_same_year/index.js","webpack:///./tmp/umd/is_saturday/index.js","webpack:///./tmp/umd/is_sunday/index.js","webpack:///./tmp/umd/is_this_hour/index.js","webpack:///./tmp/umd/is_this_iso_week/index.js","webpack:///./tmp/umd/is_this_iso_year/index.js","webpack:///./tmp/umd/is_this_minute/index.js","webpack:///./tmp/umd/is_this_month/index.js","webpack:///./tmp/umd/is_this_quarter/index.js","webpack:///./tmp/umd/is_this_second/index.js","webpack:///./tmp/umd/is_this_week/index.js","webpack:///./tmp/umd/is_this_year/index.js","webpack:///./tmp/umd/is_thursday/index.js","webpack:///./tmp/umd/is_today/index.js","webpack:///./tmp/umd/is_tomorrow/index.js","webpack:///./tmp/umd/is_tuesday/index.js","webpack:///./tmp/umd/is_valid/index.js","webpack:///./tmp/umd/is_valid_date_values/index.js","webpack:///./tmp/umd/is_wednesday/index.js","webpack:///./tmp/umd/is_weekend/index.js","webpack:///./tmp/umd/is_within_range/index.js","webpack:///./tmp/umd/is_yesterday/index.js","webpack:///./tmp/umd/last_day_of_iso_week/index.js","webpack:///./tmp/umd/last_day_of_week/index.js","webpack:///./tmp/umd/last_day_of_iso_year/index.js","webpack:///./tmp/umd/last_day_of_month/index.js","webpack:///./tmp/umd/last_day_of_quarter/index.js","webpack:///./tmp/umd/last_day_of_year/index.js","webpack:///./tmp/umd/max/index.js","webpack:///./tmp/umd/min/index.js","webpack:///./tmp/umd/set_date/index.js","webpack:///./tmp/umd/set_day/index.js","webpack:///./tmp/umd/set_day_of_year/index.js","webpack:///./tmp/umd/set_hours/index.js","webpack:///./tmp/umd/set_iso_week/index.js","webpack:///./tmp/umd/set_milliseconds/index.js","webpack:///./tmp/umd/set_minutes/index.js","webpack:///./tmp/umd/set_month/index.js","webpack:///./tmp/umd/set_quarter/index.js","webpack:///./tmp/umd/set_seconds/index.js","webpack:///./tmp/umd/set_year/index.js","webpack:///./tmp/umd/start_of_month/index.js","webpack:///./tmp/umd/start_of_today/index.js","webpack:///./tmp/umd/start_of_tomorrow/index.js","webpack:///./tmp/umd/start_of_yesterday/index.js","webpack:///./tmp/umd/sub_days/index.js","webpack:///./tmp/umd/sub_hours/index.js","webpack:///./tmp/umd/sub_milliseconds/index.js","webpack:///./tmp/umd/sub_minutes/index.js","webpack:///./tmp/umd/sub_months/index.js","webpack:///./tmp/umd/sub_quarters/index.js","webpack:///./tmp/umd/sub_seconds/index.js","webpack:///./tmp/umd/sub_weeks/index.js","webpack:///./tmp/umd/sub_years/index.js"],"names":["module","exports","addDays","addHours","addISOYears","addMilliseconds","addMinutes","addMonths","addQuarters","addSeconds","addWeeks","addYears","closestTo","compareAsc","compareDesc","differenceInCalendarDays","differenceInCalendarISOWeeks","differenceInCalendarISOYears","differenceInCalendarMonths","differenceInCalendarQuarters","differenceInCalendarWeeks","differenceInCalendarYears","differenceInDays","differenceInHours","differenceInISOYears","differenceInMilliseconds","differenceInMinutes","differenceInMonths","differenceInQuarters","differenceInSeconds","differenceInWeeks","differenceInYears","distanceInWords","distanceInWordsToNow","eachDay","endOfDay","endOfHour","endOfISOWeek","endOfISOYear","endOfMinute","endOfMonth","endOfQuarter","endOfSecond","endOfToday","endOfTomorrow","endOfWeek","endOfYear","endOfYesterday","format","getDate","getDay","getDayOfYear","getDaysInMonth","getDaysInYear","getHours","getISOWeek","getISOWeeksInYear","getISOYear","getMilliseconds","getMinutes","getMonth","getQuarter","getSeconds","getYear","isAfter","isBefore","isEqual","isFirstDayOfMonth","isFriday","isFuture","isLastDayOfMonth","isLeapYear","isMonday","isPast","isSameDay","isSameHour","isSameISOWeek","isSameISOYear","isSameMinute","isSameMonth","isSameQuarter","isSameSecond","isSameWeek","isSameYear","isSaturday","isSunday","isThisHour","isThisISOWeek","isThisISOYear","isThisMinute","isThisMonth","isThisQuarter","isThisSecond","isThisWeek","isThisYear","isThursday","isToday","isTomorrow","isTuesday","isValid","isValidDateValues","isWednesday","isWeekend","isWithinRange","isYesterday","lastDayOfISOWeek","lastDayOfISOYear","lastDayOfMonth","lastDayOfQuarter","lastDayOfWeek","lastDayOfYear","max","min","parse","setDate","setDay","setDayOfYear","setHours","setISOWeek","setISOYear","setMilliseconds","setMinutes","setMonth","setQuarter","setSeconds","setYear","startOfDay","startOfHour","startOfISOWeek","startOfISOYear","startOfMinute","startOfMonth","startOfQuarter","startOfSecond","startOfToday","startOfTomorrow","startOfWeek","startOfYear","startOfYesterday","subDays","subHours","subISOYears","subMilliseconds","subMinutes","subMonths","subQuarters","subSeconds","subWeeks","subYears","dirtyDate","amount","date","MILLISECONDS_IN_HOUR","MILLISECONDS_IN_MINUTE","parseTokenDateTimeDelimeter","parseTokenPlainTime","parseTokenYYYY","parseTokenYYYYY","parseTokenMM","parseTokenDDD","parseTokenMMDD","parseTokenWww","parseTokenWwwD","parseTokenHH","parseTokenHHMM","parseTokenHHMMSS","parseTokenTimezone","parseTokenTimezoneZ","parseTokenTimezoneHH","parseTokenTimezoneHHMM","dateString","Date","getTime","dateStrings","splitDateString","parseDate","timestamp","time","offset","parseTime","timezone","parseTimezone","getTimezoneOffset","array","split","timeString","test","token","exec","replace","year","yearToken","yearString","parseInt","slice","length","setUTCFullYear","month","dayOfYear","day","week","dayOfISOYear","dayOfWeek","hours","parseFloat","minutes","seconds","timezoneString","absoluteOffset","isoYear","diff","getUTCDay","setUTCDate","getUTCDate","getFullYear","startOfNextYear","startOfThisYear","weekStartsAt","options","MILLISECONDS_IN_DAY","dirtyDateLeft","dirtyDateRight","startOfDayLeft","startOfDayRight","timestampLeft","timestampRight","Math","round","desiredMonth","daysInMonth","monthIndex","months","days","setFullYear","dirtyDateToCompare","dirtyDatesArray","Array","TypeError","toString","call","dateToCompare","timeToCompare","result","minDistance","forEach","currentDate","distance","abs","undefined","dateLeft","timeLeft","dateRight","timeRight","MILLISECONDS_IN_WEEK","startOfISOWeekLeft","startOfISOWeekRight","yearDiff","monthDiff","quarterDiff","quarter","floor","startOfWeekLeft","startOfWeekRight","sign","difference","isLastDayNotFull","ceil","isLastISOYearNotFull","isLastMonthNotFull","isLastYearNotFull","MINUTES_IN_DAY","MINUTES_IN_ALMOST_TWO_DAYS","MINUTES_IN_MONTH","MINUTES_IN_TWO_MONTHS","dirtyDateFrom","dirtyDateTo","dateFrom","dateTo","includeSeconds","translate","nearestMonth","monthsSinceStartOfYear","years","count","locale","one","other","lessThanXSeconds","halfAMinute","lessThanXMinutes","xMinutes","aboutXHours","xDays","aboutXMonths","xMonths","aboutXYears","overXYears","almostXYears","now","dirtyStartDate","dirtyEndDate","startDate","endDate","endTime","Error","dates","push","currentMonth","formatFunction","makeFormatFunction","formats","addLeadingZeros","monthsShort","dayNamesMin","dayNamesShort","dayNames","String","substr","apply","formatTimezone","ordinalFunctions","functionName","ordinal","formattingTokens","Object","keys","sort","reverse","formattingTokensRegexp","RegExp","join","match","i","removeFormattingTokens","mom","output","Function","input","number","targetLength","delimeter","absOffset","cleanDate","dayOfMonth","thisYear","nextYear","valueOf","milliseconds","dirtyLeftDate","dirtyRightDate","dateLeftStartOfDay","dateRightStartOfDay","dateLeftStartOfHour","dateRightStartOfHour","dateLeftStartOfWeek","dateRightStartOfWeek","dateLeftStartOfYear","dateRightStartOfYear","dateLeftStartOfMinute","dateRightStartOfMinute","dateLeftStartOfQuarter","dateRightStartOfQuarter","dateLeftStartOfSecond","dateRightStartOfSecond","tomorrow","isNaN","startTime","yesterday","dirtyDates","prototype","arguments","map","latestDirtyDate","earliestDirtyDate","currentDay","isoWeek","oldQu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xI,QAAA,GAAW,oBAAQ,EAAR,CAAf;AAkBA,KAAIyI,QAAA,GAAW,UAASE,SAAT,EAAoBC,MAApB,EAA4B;AAAA,KACzC,OAAO5I,QAAA,CAAS2I,SAAT,EAAoB,CAACC,MAArB,CAAP,CADyC;AAAA,EAA3C,CAlBA;AAsBAtJ,OAAA,CAAOC,OAAP,GAAiBkJ,QAAjB;;;;;;;;ACtBA,KAAIxI,QAAA,GAAW,oBAAQ,EAAR,CAAf;AAkBA,KAAIyI,QAAA,GAAW,UAASC,SAAT,EAAoBC,MAApB,EAA4B;AAAA,KACzC,OAAO3I,QAAA,CAAS0I,SAAT,EAAoB,CAACC,MAArB,CAAP,CADyC;AAAA,EAA3C,CAlBA;AAsBAtJ,OAAA,CAAOC,OAAP,GAAiBmJ,QAAjB","file":"date_fns.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"dateFns\"] = factory();\n\telse\n\t\troot[\"dateFns\"] = factory();\n})(this, function() {\nreturn \n\n\n/** WEBPACK FOOTER **\n ** webpack/universalModuleDefinition\n **/"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n/** WEBPACK FOOTER **\n ** webpack/bootstrap 4312a940fbc10cc9d5b3\n **/","module.exports = {\n addDays: require('./add_days'),\n addHours: require('./add_hours'),\n addISOYears: require('./add_iso_years'),\n addMilliseconds: require('./add_milliseconds'),\n addMinutes: require('./add_minutes'),\n addMonths: require('./add_months'),\n addQuarters: require('./add_quarters'),\n addSeconds: require('./add_seconds'),\n addWeeks: require('./add_weeks'),\n addYears: require('./add_years'),\n closestTo: require('./closest_to'),\n compareAsc: require('./compare_asc'),\n compareDesc: require('./compare_desc'),\n differenceInCalendarDays: require('./difference_in_calendar_days'),\n differenceInCalendarISOWeeks: require('./difference_in_calendar_iso_weeks'),\n differenceInCalendarISOYears: require('./difference_in_calendar_iso_years'),\n differenceInCalendarMonths: require('./difference_in_calendar_months'),\n differenceInCalendarQuarters: require('./difference_in_calendar_quarters'),\n differenceInCalendarWeeks: require('./difference_in_calendar_weeks'),\n differenceInCalendarYears: require('./difference_in_calendar_years'),\n differenceInDays: require('./difference_in_days'),\n differenceInHours: require('./difference_in_hours'),\n differenceInISOYears: require('./difference_in_iso_years'),\n differenceInMilliseconds: require('./difference_in_milliseconds'),\n differenceInMinutes: require('./difference_in_minutes'),\n differenceInMonths: require('./difference_in_months'),\n differenceInQuarters: require('./difference_in_quarters'),\n differenceInSeconds: require('./difference_in_seconds'),\n differenceInWeeks: require('./difference_in_weeks'),\n differenceInYears: require('./difference_in_years'),\n distanceInWords: require('./distance_in_words'),\n distanceInWordsToNow: require('./distance_in_words_to_now'),\n eachDay: require('./each_day'),\n endOfDay: require('./end_of_day'),\n endOfHour: require('./end_of_hour'),\n endOfISOWeek: require('./end_of_iso_week'),\n endOfISOYear: require('./end_of_iso_year'),\n endOfMinute: require('./end_of_minute'),\n endOfMonth: require('./end_of_month'),\n endOfQuarter: require('./end_of_quarter'),\n endOfSecond: require('./end_of_second'),\n endOfToday: require('./end_of_today'),\n endOfTomorrow: require('./end_of_tomorrow'),\n endOfWeek: require('./end_of_week'),\n endOfYear: require('./end_of_year'),\n endOfYesterday: require('./end_of_yesterday'),\n format: require('./format'),\n getDate: require('./get_date'),\n getDay: require('./get_day'),\n getDayOfYear: require('./get_day_of_year'),\n getDaysInMonth: require('./get_days_in_month'),\n getDaysInYear: require('./get_days_in_year'),\n getHours: require('./get_hours'),\n getISOWeek: require('./get_iso_week'),\n getISOWeeksInYear: require('./get_iso_weeks_in_year'),\n getISOYear: require('./get_iso_year'),\n getMilliseconds: require('./get_milliseconds'),\n getMinutes: require('./get_minutes'),\n getMonth: require('./get_month'),\n getQuarter: require('./get_quarter'),\n getSeconds: require('./get_seconds'),\n getYear: require('./get_year'),\n isAfter: require('./is_after'),\n isBefore: require('./is_before'),\n isEqual: require('./is_equal'),\n isFirstDayOfMonth: require('./is_first_day_of_month'),\n isFriday: require('./is_friday'),\n isFuture: require('./is_future'),\n isLastDayOfMonth: require('./is_last_day_of_month'),\n isLeapYear: require('./is_leap_year'),\n isMonday: require('./is_monday'),\n isPast: require('./is_past'),\n isSameDay: require('./is_same_day'),\n isSameHour: require('./is_same_hour'),\n isSameISOWeek: require('./is_same_iso_week'),\n isSameISOYear: require('./is_same_iso_year'),\n isSameMinute: require('./is_same_minute'),\n isSameMonth: require('./is_same_month'),\n isSameQuarter: require('./is_same_quarter'),\n isSameSecond: require('./is_same_second'),\n isSameWeek: require('./is_same_week'),\n isSameYear: require('./is_same_year'),\n isSaturday: require('./is_saturday'),\n isSunday: require('./is_sunday'),\n isThisHour: require('./is_this_hour'),\n isThisISOWeek: require('./is_this_iso_week'),\n isThisISOYear: require('./is_this_iso_year'),\n isThisMinute: require('./is_this_minute'),\n isThisMonth: require('./is_this_month'),\n isThisQuarter: require('./is_this_quarter'),\n isThisSecond: require('./is_this_second'),\n isThisWeek: require('./is_this_week'),\n isThisYear: require('./is_this_year'),\n isThursday: require('./is_thursday'),\n isToday: require('./is_today'),\n isTomorrow: require('./is_tomorrow'),\n isTuesday: require('./is_tuesday'),\n isValid: require('./is_valid'),\n isValidDateValues: require('./is_valid_date_values'),\n isWednesday: require('./is_wednesday'),\n isWeekend: require('./is_weekend'),\n isWithinRange: require('./is_within_range'),\n isYesterday: require('./is_yesterday'),\n lastDayOfISOWeek: require('./last_day_of_iso_week'),\n lastDayOfISOYear: require('./last_day_of_iso_year'),\n lastDayOfMonth: require('./last_day_of_month'),\n lastDayOfQuarter: require('./last_day_of_quarter'),\n lastDayOfWeek: require('./last_day_of_week'),\n lastDayOfYear: require('./last_day_of_year'),\n max: require('./max'),\n min: require('./min'),\n parse: require('./parse'),\n setDate: require('./set_date'),\n setDay: require('./set_day'),\n setDayOfYear: require('./set_day_of_year'),\n setHours: require('./set_hours'),\n setISOWeek: require('./set_iso_week'),\n setISOYear: require('./set_iso_year'),\n setMilliseconds: require('./set_milliseconds'),\n setMinutes: require('./set_minutes'),\n setMonth: require('./set_month'),\n setQuarter: require('./set_quarter'),\n setSeconds: require('./set_seconds'),\n setYear: require('./set_year'),\n startOfDay: require('./start_of_day'),\n startOfHour: require('./start_of_hour'),\n startOfISOWeek: require('./start_of_iso_week'),\n startOfISOYear: require('./start_of_iso_year'),\n startOfMinute: require('./start_of_minute'),\n startOfMonth: require('./start_of_month'),\n startOfQuarter: require('./start_of_quarter'),\n startOfSecond: require('./start_of_second'),\n startOfToday: require('./start_of_today'),\n startOfTomorrow: require('./start_of_tomorrow'),\n startOfWeek: require('./start_of_week'),\n startOfYear: require('./start_of_year'),\n startOfYesterday: require('./start_of_yesterday'),\n subDays: require('./sub_days'),\n subHours: require('./sub_hours'),\n subISOYears: require('./sub_iso_years'),\n subMilliseconds: require('./sub_milliseconds'),\n subMinutes: require('./sub_minutes'),\n subMonths: require('./sub_months'),\n subQuarters: require('./sub_quarters'),\n subSeconds: require('./sub_seconds'),\n subWeeks: require('./sub_weeks'),\n subYears: require('./sub_years')\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Day Helpers\n * @summary Get the day of the month.\n *\n * @description\n * Add the specified number of days to the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} amount - the amount of days to be added\n * @returns {Date} the new date with the days added\n *\n * @example\n * // Add 10 days to 1 September 2014:\n * var result = addDays(new Date(2014, 8, 1), 10)\n * //=> Thu Sep 11 2014 00:00:00\n */\nvar addDays = function(dirtyDate, amount) {\n var date = parse(dirtyDate)\n date.setDate(date.getDate() + amount)\n return date\n}\n\nmodule.exports = addDays\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/add_days/index.js\n **/","var MILLISECONDS_IN_HOUR = 3600000\nvar MILLISECONDS_IN_MINUTE = 60000\n\nvar parseTokenDateTimeDelimeter = /[T ]/\nvar parseTokenPlainTime = /:/\n\n// date tokens\nvar parseTokenYYYY = /^(\\d{4})-?/\nvar parseTokenYYYYY = /^([+-]\\d{4,6})-/\nvar parseTokenMM = /^-(\\d{2})$/\nvar parseTokenDDD = /^-?(\\d{3})$/\nvar parseTokenMMDD = /^-?(\\d{2})-?(\\d{2})$/\nvar parseTokenWww = /^-?W(\\d{2})$/\nvar parseTokenWwwD = /^-?W(\\d{2})-?(\\d{1})$/\n\n// time tokens\nvar parseTokenHH = /^(\\d{2}([.,]\\d*)?)$/\nvar parseTokenHHMM = /^(\\d{2}):?(\\d{2}([.,]\\d*)?)$/\nvar parseTokenHHMMSS = /^(\\d{2}):?(\\d{2}):?(\\d{2}([.,]\\d*)?)$/\n\n// timezone tokens\nvar parseTokenTimezone = /([Z+-].*)$/\nvar parseTokenTimezoneZ = /^(Z)$/\nvar parseTokenTimezoneHH = /^([+-])(\\d{2})$/\nvar parseTokenTimezoneHHMM = /^([+-])(\\d{2}):?(\\d{2})$/\n\n/**\n * @category Common Helpers\n * @summary Parse the ISO-8601-formatted date.\n *\n * @description\n * Parse the date string representation.\n * It accepts the ISO 8601 format as well as a partial implementation.\n *\n * ISO 8601: http://en.wikipedia.org/wiki/ISO_8601\n *\n * @param {String} dateString - the ISO 8601 formatted string to parse\n * @returns {Date} the parsed date in the local time zone.\n *\n * @example\n * // Parse string '2014-02-11T11:30:30':\n * var result = parse('2014-02-11T11:30:30')\n * //=> Tue Feb 11 2014 11:30:30\n */\nvar parse = function(dateString) {\n if (dateString instanceof Date) {\n // Prevent the date to lose the milliseconds when passed to new Date() in IE10\n return new Date(dateString.getTime())\n } else if (typeof dateString !== 'string') {\n return new Date(dateString)\n }\n\n var dateStrings = splitDateString(dateString)\n\n var date = parseDate(dateStrings.date)\n\n if (date) {\n var timestamp = date.getTime()\n var time = 0\n var offset\n\n if (dateStrings.time) {\n time = parseTime(dateStrings.time)\n }\n\n if (dateStrings.timezone) {\n offset = parseTimezone(dateStrings.timezone)\n } else {\n // get offset accurate to hour in timezones that change offset\n offset = new Date(timestamp + time).getTimezoneOffset()\n offset = new Date(timestamp + time + offset * MILLISECONDS_IN_MINUTE).getTimezoneOffset()\n }\n\n return new Date(timestamp + time + offset * MILLISECONDS_IN_MINUTE)\n } else {\n return new Date(dateString)\n }\n}\n\nvar splitDateString = function(dateString) {\n var dateStrings = {}\n var array = dateString.split(parseTokenDateTimeDelimeter)\n var timeString\n\n if (parseTokenPlainTime.test(array[0])) {\n dateStrings.date = null\n timeString = array[0]\n } else {\n dateStrings.date = array[0]\n timeString = array[1]\n }\n\n if (timeString) {\n var token\n if (token = parseTokenTimezone.exec(timeString)) {\n dateStrings.time = timeString.replace(token[1], '')\n dateStrings.timezone = token[1]\n } else {\n dateStrings.time = timeString\n }\n }\n\n return dateStrings\n}\n\nvar parseDate = function(dateString) {\n var year\n var yearToken\n\n // YYYY or ±YYYYY\n if (yearToken = parseTokenYYYY.exec(dateString) || parseTokenYYYYY.exec(dateString)) {\n var yearString = yearToken[1]\n year = parseInt(yearString, 10)\n dateString = dateString.slice(yearString.length)\n\n // Invalid ISO-formatted year\n } else {\n return null\n }\n\n var token\n\n // YYYY\n if (dateString.length === 0) {\n var date = new Date(0)\n date.setUTCFullYear(year)\n return date\n\n // YYYY-MM\n } else if (token = parseTokenMM.exec(dateString)) {\n var date = new Date(0)\n var month = parseInt(token[1], 10) - 1\n date.setUTCFullYear(year, month)\n return date\n\n // YYYY-DDD or YYYYDDD\n } else if (token = parseTokenDDD.exec(dateString)) {\n var date = new Date(0)\n var dayOfYear = parseInt(token[1], 10)\n date.setUTCFullYear(year, 0, dayOfYear)\n return date\n\n // YYYY-MM-DD or YYYYMMDD\n } else if (token = parseTokenMMDD.exec(dateString)) {\n var date = new Date(0)\n var month = parseInt(token[1], 10) - 1\n var day = parseInt(token[2], 10)\n date.setUTCFullYear(year, month, day)\n return date\n\n // YYYY-Www or YYYYWww\n } else if (token = parseTokenWww.exec(dateString)) {\n var week = parseInt(token[1], 10) - 1\n return dayOfISOYear(year, week)\n\n // YYYY-Www-D or YYYYWwwD\n } else if (token = parseTokenWwwD.exec(dateString)) {\n var week = parseInt(token[1], 10) - 1\n var dayOfWeek = parseInt(token[2], 10) - 1\n return dayOfISOYear(year, week, dayOfWeek)\n\n // Invalid ISO-formatted date\n } else {\n return null\n }\n}\n\nvar parseTime = function(timeString) {\n var token\n\n // hh\n if (token = parseTokenHH.exec(timeString)) {\n var hours = parseFloat(token[1].replace(',', '.'))\n return (hours % 24) * MILLISECONDS_IN_HOUR\n\n // hh:mm or hhmm\n } else if (token = parseTokenHHMM.exec(timeString)) {\n var hours = parseInt(token[1], 10)\n var minutes = parseFloat(token[2].replace(',', '.'))\n return (hours % 24) * MILLISECONDS_IN_HOUR\n + minutes * MILLISECONDS_IN_MINUTE\n\n // hh:mm:ss or hhmmss\n } else if (token = parseTokenHHMMSS.exec(timeString)) {\n var hours = parseInt(token[1], 10)\n var minutes = parseInt(token[2], 10)\n var seconds = parseFloat(token[3].replace(',', '.'))\n return (hours % 24) * MILLISECONDS_IN_HOUR\n + minutes * MILLISECONDS_IN_MINUTE\n + seconds * 1000\n\n // Invalid ISO-formatted time\n } else {\n return null\n }\n}\n\nvar parseTimezone = function(timezoneString) {\n var token\n var offset = 0\n\n // Z\n if (token = parseTokenTimezoneZ.exec(timezoneString)) {\n offset = 0\n\n // ±hh\n } else if (token = parseTokenTimezoneHH.exec(timezoneString)) {\n var absoluteOffset = parseInt(token[2], 10) * 60\n offset = (token[1] == '+') ? - absoluteOffset : absoluteOffset\n\n // ±hh:mm or ±hhmm\n } else if (token = parseTokenTimezoneHHMM.exec(timezoneString)) {\n var absoluteOffset = parseInt(token[2], 10) * 60 + parseInt(token[3], 10)\n offset = (token[1] == '+') ? - absoluteOffset : absoluteOffset\n }\n\n return offset\n}\n\nvar dayOfISOYear = function(isoYear, week, day) {\n week = week || 0\n day = day || 0\n var date = new Date(0)\n date.setUTCFullYear(isoYear, 0, 4)\n var diff = week * 7 + day + 1 - date.getUTCDay()\n date.setUTCDate(date.getUTCDate() + diff)\n return date\n}\n\nmodule.exports = parse\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/parse/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Hour Helpers\n * @summary Add hours to the given date.\n *\n * @description\n * Add the specified number of hours to the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} amount - the amount of hours to be added\n * @returns {Date} the new date with the hours added\n *\n * @example\n * // Add 2 hours to 10 July 2014 23:00:00:\n * var result = addHours(new Date(2014, 6, 10, 23, 0), 2)\n * //=> Fri Jul 11 2014 01:00:00\n */\nvar addHours = function(dirtyDate, amount) {\n var date = parse(dirtyDate)\n date.setHours(date.getHours() + amount)\n return date\n}\n\nmodule.exports = addHours\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/add_hours/index.js\n **/","var getISOYear = require('../get_iso_year')\nvar setISOYear = require('../set_iso_year')\n\n/**\n * @category ISO Week-Numbering Year Helpers\n * @summary Add the specified number of ISO week-numbering years to the given date.\n *\n * @description\n * Add the specified number of ISO week-numbering years to the given date.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} amount - the amount of ISO week-numbering years to be added\n * @returns {Date} the new date with the ISO week-numbering years added\n *\n * @example\n * // Add 5 ISO week-numbering years to 2 July 2010:\n * var result = addISOYears(new Date(2010, 6, 2), 5)\n * //=> Fri Jun 26 2015 00:00:00\n */\nvar addISOYears = function(dirtyDate, amount) {\n return setISOYear(dirtyDate, getISOYear(dirtyDate) + amount)\n}\n\nmodule.exports = addISOYears\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/add_iso_years/index.js\n **/","var parse = require('../parse')\nvar startOfISOWeek = require('../start_of_iso_week')\n\n/**\n * @category ISO Week-Numbering Year Helpers\n * @summary Get the ISO week-numbering year.\n *\n * @description\n * Get the ISO week-numbering year of the given date,\n * which always starts 3 days before the year's first Thursday.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param {Date|String|Number} date - the given date\n * @returns {Number} the ISO week-numbering year\n *\n * @example\n * // Which ISO-week numbering year is 2 January 2005?\n * var result = getISOYear(new Date(2005, 0, 2))\n * //=> 2004\n */\nvar getISOYear = function(dirtyDate) {\n var date = parse(dirtyDate)\n var year = date.getFullYear()\n var startOfNextYear = startOfISOWeek(new Date(year + 1, 0, 4))\n var startOfThisYear = startOfISOWeek(new Date(year, 0, 4))\n\n if (date.getTime() >= startOfNextYear.getTime()) {\n return year + 1\n } else if (date.getTime() >= startOfThisYear.getTime()) {\n return year\n } else {\n return year - 1\n }\n}\n\nmodule.exports = getISOYear\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/get_iso_year/index.js\n **/","var startOfWeek = require('../start_of_week')\n\n/**\n * @category ISO Week Helpers\n * @summary Return the start of an ISO week for the given date.\n *\n * @description\n * Return the start of an ISO week for the given date.\n * The result will be in the local timezone.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the start of an ISO week\n *\n * @example\n * // The start of an ISO week for 2 September 2014 11:55:00:\n * var result = startOfISOWeek(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Mon Sep 01 2014 00:00:00\n */\nvar startOfISOWeek = function(dirtyDate) {\n return startOfWeek(dirtyDate, {weekStartsAt: 1})\n}\n\nmodule.exports = startOfISOWeek\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/start_of_iso_week/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Week Helpers\n * @summary Return the start of a week for the given date.\n *\n * @description\n * Return the start of a week for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|String|Number} date - the original date\n * @param {Object} [options] - the object with options\n * @param {Number} [options.weekStartsAt=0] - the index of the first day of a week (0 - sunday)\n * @returns {Date} the start of a week\n *\n * @example\n * // The start of a week for 2 September 2014 11:55:00:\n * var result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Sun Aug 31 2014 00:00:00\n *\n * @example\n * // If week starts at Monday, the start of a week for 2 September 2014 11:55:00:\n * var result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0), {weekStartsAt: 1})\n * //=> Mon Sep 01 2014 00:00:00\n */\nvar startOfWeek = function(dirtyDate, options) {\n var weekStartsAt = options ? (options.weekStartsAt || 0) : 0\n\n var date = parse(dirtyDate)\n var day = date.getDay()\n var diff = (day < weekStartsAt ? 7 : 0) + day - weekStartsAt\n\n date.setDate(date.getDate() - diff)\n date.setHours(0, 0, 0, 0)\n return date\n}\n\nmodule.exports = startOfWeek\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/start_of_week/index.js\n **/","var parse = require('../parse')\nvar startOfISOYear = require('../start_of_iso_year')\nvar differenceInCalendarDays = require('../difference_in_calendar_days')\n\n/**\n * @category ISO Week-Numbering Year Helpers\n * @summary Set the ISO week-numbering year.\n *\n * @description\n * Set the ISO week-numbering year to the given date,\n * saving the week number and the weekday number.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} isoYear - the ISO week-numbering year of the new date\n * @returns {Date} the new date with the ISO year setted\n *\n * @example\n * // Set ISO week-numbering year 2007 to 29 December 2008:\n * var result = setISOYear(new Date(2008, 11, 29), 2007)\n * //=> Mon Jan 01 2007 00:00:00\n */\nvar setISOYear = function(dirtyDate, isoYear) {\n var date = parse(dirtyDate)\n var diff = differenceInCalendarDays(date, startOfISOYear(date))\n date = startOfISOYear(new Date(isoYear, 0, 4))\n date.setDate(date.getDate() + diff)\n return date\n}\n\nmodule.exports = setISOYear\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/set_iso_year/index.js\n **/","var getISOYear = require('../get_iso_year')\nvar startOfISOWeek = require('../start_of_iso_week')\n\n/**\n * @category ISO Week-Numbering Year Helpers\n * @summary Return the start of an ISO week-numbering year for the given date.\n *\n * @description\n * Return the start of an ISO week-numbering year,\n * which always starts 3 days before the year's first Thursday.\n * The result will be in the local timezone.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the start of an ISO year\n *\n * @example\n * // The start of an ISO week-numbering year for 2 July 2005:\n * var result = startOfISOYear(new Date(2005, 6, 2))\n * //=> Mon Jan 03 2005 00:00:00\n */\nvar startOfISOYear = function(dirtyDate) {\n var year = getISOYear(dirtyDate)\n var date = startOfISOWeek(new Date(year, 0, 4))\n return date\n}\n\nmodule.exports = startOfISOYear\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/start_of_iso_year/index.js\n **/","var startOfDay = require('../start_of_day')\n\nvar MILLISECONDS_IN_MINUTE = 60000\nvar MILLISECONDS_IN_DAY = 86400000\n\n/**\n * @category Day Helpers\n * @summary Get the number of calendar days between the given dates.\n *\n * @description\n * Get the number of calendar days between the given dates.\n *\n * @param {Date|String|Number} dateLeft - the later date\n * @param {Date|String|Number} dateRight - the earlier date\n * @returns {Number} the number of calendar days\n *\n * @example\n * // How many calendar days are between\n * // 2 July 2011 23:00:00 and 2 July 2012 00:00:00?\n * var result = differenceInCalendarDays(\n * new Date(2012, 6, 2, 0, 0),\n * new Date(2011, 6, 2, 23, 0)\n * )\n * //=> 366\n */\nvar differenceInCalendarDays = function(dirtyDateLeft, dirtyDateRight) {\n var startOfDayLeft = startOfDay(dirtyDateLeft)\n var startOfDayRight = startOfDay(dirtyDateRight)\n\n var timestampLeft = startOfDayLeft.getTime()\n - startOfDayLeft.getTimezoneOffset() * MILLISECONDS_IN_MINUTE\n var timestampRight = startOfDayRight.getTime()\n - startOfDayRight.getTimezoneOffset() * MILLISECONDS_IN_MINUTE\n\n // Round the number of days to the nearest integer\n // because the number of milliseconds in a day is not constant\n // (e.g. it's different in the day of the daylight saving time clock shift)\n return Math.round((timestampLeft - timestampRight) / MILLISECONDS_IN_DAY)\n}\n\nmodule.exports = differenceInCalendarDays\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/difference_in_calendar_days/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Day Helpers\n * @summary Return the start of a day for the given date.\n *\n * @description\n * Return the start of a day for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the start of a day\n *\n * @example\n * // The start of a day for 2 September 2014 11:55:00:\n * var result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 00:00:00\n */\nvar startOfDay = function(dirtyDate) {\n var date = parse(dirtyDate)\n date.setHours(0, 0, 0, 0)\n return date\n}\n\nmodule.exports = startOfDay\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/start_of_day/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Millisecond Helpers\n * @summary Add the milliseconds to the given date.\n *\n * @description\n * Add the specified number of milliseconds to the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} amount - the amount of milliseconds to be added\n * @returns {Date} the new date with the milliseconds added\n *\n * @example\n * // Add 750 milliseconds to 10 July 2014 12:45:30.000:\n * var result = addMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)\n * //=> Thu Jul 10 2014 12:45:30.750\n */\nvar addMilliseconds = function(dirtyDate, amount) {\n var date = parse(dirtyDate)\n date.setMilliseconds(date.getMilliseconds() + amount)\n return date\n}\n\nmodule.exports = addMilliseconds\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/add_milliseconds/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Minute Helpers\n * @summary Add the minutes to the given date.\n *\n * @description\n * Add the specified number of minutes to the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} amount - the amount of minutes to be added\n * @returns {Date} the new date with the minutes added\n *\n * @example\n * // Add 30 minutes to 10 July 2014 12:00:00:\n * var result = addMinutes(new Date(2014, 6, 10, 12, 0), 30)\n * //=> Thu Jul 10 2014 12:30:00\n */\nvar addMinutes = function(dirtyDate, amount) {\n var date = parse(dirtyDate)\n date.setMinutes(date.getMinutes() + amount)\n return date\n}\n\nmodule.exports = addMinutes\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/add_minutes/index.js\n **/","var parse = require('../parse')\nvar getDaysInMonth = require('../get_days_in_month')\n\n/**\n * @category Month Helpers\n * @summary Add the specified number of months to the given date.\n *\n * @description\n * Add the specified number of months to the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} amount - the amount of months to be added\n * @returns {Date} the new date with the months added\n *\n * @example\n * // Add 5 months to 1 September 2014:\n * var result = addMonths(new Date(2014, 8, 1), 5)\n * //=> Sun Feb 01 2015 00:00:00\n */\nvar addMonths = function(dirtyDate, amount) {\n var date = parse(dirtyDate)\n var desiredMonth = date.getMonth() + amount\n var daysInMonth = getDaysInMonth(new Date(date.getFullYear(), desiredMonth, 1))\n // Set the last day of the new month\n // if the original date was the last day of the longer month\n date.setMonth(desiredMonth, Math.min(daysInMonth, date.getDate()))\n return date\n}\n\nmodule.exports = addMonths\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/add_months/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Month Helpers\n * @summary Get the number of days in a month of the given date.\n *\n * @description\n * Get the number of days in a month of the given date.\n *\n * @param {Date|String|Number} date - the given date\n * @returns {Number} the number of days in a month\n *\n * @example\n * // How many days are in February 2000?\n * var result = getDaysInMonth(new Date(2000, 1))\n * //=> 29\n */\nvar getDaysInMonth = function(dirtyDate) {\n var date = parse(dirtyDate)\n var year = date.getFullYear()\n var monthIndex = date.getMonth()\n return new Date(year, monthIndex + 1, 0).getDate()\n}\n\nmodule.exports = getDaysInMonth\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/get_days_in_month/index.js\n **/","var addMonths = require('../add_months')\n\n/**\n * @category Quarter Helpers\n * @summary Add the specified number of year quarters to the given date.\n *\n * @description\n * Add the specified number of quarters to the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} amount - the amount of quarters to be added\n * @returns {Date} the new date with the quarters added\n *\n * @example\n * // Add 1 quarter to 1 September 2014:\n * var result = addQuarters(new Date(2014, 8, 1), 1)\n * //=> Mon Dec 01 2014 00:00:00\n */\nvar addQuarters = function(dirtyDate, amount) {\n var months = amount * 3\n return addMonths(dirtyDate, months)\n}\n\nmodule.exports = addQuarters\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/add_quarters/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Second Helpers\n * @summary Add the seconds to the given date.\n *\n * @description\n * Add the specified number of seconds to the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} amount - the amount of seconds to be added\n * @returns {Date} the new date with the seconds added\n *\n * @example\n * // Add 30 seconds to 10 July 2014 12:45:00:\n * var result = addSeconds(new Date(2014, 6, 10, 12, 45, 0), 30)\n * //=> Thu Jul 10 2014 12:45:30\n */\nvar addSeconds = function(dirtyDate, amount) {\n var date = parse(dirtyDate)\n date.setSeconds(date.getSeconds() + amount)\n return date\n}\n\nmodule.exports = addSeconds\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/add_seconds/index.js\n **/","var addDays = require('../add_days')\n\n/**\n * @category Week Helpers\n * @summary Add specified number of weeks to the given date.\n *\n * @description\n * Add the specified number of week to the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} amount - the amount of weeks to be added\n * @returns {Date} the new date with the weeks added\n *\n * @example\n * // Add 4 weeks to 1 September 2014:\n * var result = addWeeks(new Date(2014, 8, 1), 4)\n * //=> Mon Sep 29 2014 00:00:00\n */\nvar addWeeks = function(dirtyDate, amount) {\n var days = amount * 7\n return addDays(dirtyDate, days)\n}\n\nmodule.exports = addWeeks\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/add_weeks/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Year Helpers\n * @summary Add the specified number of years to the given date.\n *\n * @description\n * Add the specified number of years to the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} amount - the amount of years to be added\n * @returns {Date} the new date with the years added\n *\n * @example\n * // Add 5 years to 1 September 2014:\n * var result = addYears(new Date(2014, 8, 1), 5)\n * //=> Sun Sep 01 2019 00:00:00\n */\nvar addYears = function(dirtyDate, amount) {\n var date = parse(dirtyDate)\n date.setFullYear(date.getFullYear() + amount)\n return date\n}\n\nmodule.exports = addYears\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/add_years/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Common Helpers\n * @summary Return a date from the array closest to the given date.\n *\n * @description\n * Return a date from the array closest to the given date.\n *\n * @param {Date|String|Number} dateToCompare - the date to compare with\n * @param {Date[]|String[]|Number[]} datesArray - the array to search\n * @returns {Date} the date from the array closest to the given date\n *\n * @example\n * // Which date is closer to 6 October 2015: 1 January 2000 or 1 January 2030?\n * var dateToCompare = new Date(2015, 8, 6)\n * var result = closestTo(dateToCompare, [\n * new Date(2000, 0, 1),\n * new Date(2030, 0, 1)\n * ])\n * //=> Tue Jan 01 2030 00:00:00\n */\nvar closestTo = function(dirtyDateToCompare, dirtyDatesArray) {\n if (!(dirtyDatesArray instanceof Array)) {\n throw new TypeError(toString.call(dirtyDatesArray) + ' is not an array')\n }\n\n var dateToCompare = parse(dirtyDateToCompare)\n var timeToCompare = dateToCompare.getTime()\n\n var result\n var minDistance\n\n dirtyDatesArray.forEach(function(dirtyDate) {\n var currentDate = parse(dirtyDate)\n var distance = Math.abs(timeToCompare - currentDate.getTime())\n if (result === undefined || distance < minDistance) {\n result = currentDate\n minDistance = distance\n }\n })\n\n return result\n}\n\nmodule.exports = closestTo\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/closest_to/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Common Helpers\n * @summary Compare the two dates and return -1, 0 or 1.\n *\n * @description\n * Compare the two dates and return 1 if the first date is after the second,\n * -1 if the first date is before the second or 0 if dates are equal.\n *\n * @param {Date|String|Number} dateLeft - the first date to compare\n * @param {Date|String|Number} dateRight - the second date to compare\n * @returns {Number} the result of the comparison\n *\n * @example\n * // Compare 11 February 1987 and 10 July 1989:\n * var result = compareAsc(\n * new Date(1987, 1, 11),\n * new Date(1989, 6, 10)\n * )\n * //=> -1\n *\n * @example\n * // Sort the array of dates:\n * var result = [\n * new Date(1995, 6, 2),\n * new Date(1987, 1, 11),\n * new Date(1989, 6, 10)\n * ].sort(compareAsc)\n * //=> [\n * // Wed Feb 11 1987 00:00:00,\n * // Mon Jul 10 1989 00:00:00,\n * // Sun Jul 02 1995 00:00:00\n * // ]\n */\nvar compareAsc = function(dirtyDateLeft, dirtyDateRight) {\n var dateLeft = parse(dirtyDateLeft)\n var timeLeft = dateLeft.getTime()\n var dateRight = parse(dirtyDateRight)\n var timeRight = dateRight.getTime()\n\n if (timeLeft < timeRight) {\n return -1\n } else if (timeLeft > timeRight) {\n return 1\n } else {\n return 0\n }\n}\n\nmodule.exports = compareAsc\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/compare_asc/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Common Helpers\n * @summary Compare the two dates reverse chronologically and return -1, 0 or 1.\n *\n * @description\n * Compare the two dates and return -1 if the first date is after the second,\n * 1 if the first date is before the second or 0 if dates are equal.\n *\n * @param {Date|String|Number} dateLeft - the first date to compare\n * @param {Date|String|Number} dateRight - the second date to compare\n * @returns {Number} the result of the comparison\n *\n * @example\n * // Compare 11 February 1987 and 10 July 1989 reverse chronologically:\n * var result = compareDesc(\n * new Date(1987, 1, 11),\n * new Date(1989, 6, 10)\n * )\n * //=> 1\n *\n * @example\n * // Sort the array of dates in reverse chronological order:\n * var result = [\n * new Date(1995, 6, 2),\n * new Date(1987, 1, 11),\n * new Date(1989, 6, 10)\n * ].sort(compareDesc)\n * //=> [\n * // Sun Jul 02 1995 00:00:00,\n * // Mon Jul 10 1989 00:00:00,\n * // Wed Feb 11 1987 00:00:00\n * // ]\n */\nvar compareDesc = function(dirtyDateLeft, dirtyDateRight) {\n var dateLeft = parse(dirtyDateLeft)\n var timeLeft = dateLeft.getTime()\n var dateRight = parse(dirtyDateRight)\n var timeRight = dateRight.getTime()\n\n if (timeLeft > timeRight) {\n return -1\n } else if (timeLeft < timeRight) {\n return 1\n } else {\n return 0\n }\n}\n\nmodule.exports = compareDesc\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/compare_desc/index.js\n **/","var startOfISOWeek = require('../start_of_iso_week')\n\nvar MILLISECONDS_IN_MINUTE = 60000\nvar MILLISECONDS_IN_WEEK = 604800000\n\n/**\n * @category ISO Week Helpers\n * @summary Get the number of calendar ISO weeks between the given dates.\n *\n * @description\n * Get the number of calendar ISO weeks between the given dates.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param {Date|String|Number} dateLeft - the later date\n * @param {Date|String|Number} dateRight - the earlier date\n * @returns {Number} the number of calendar ISO weeks\n *\n * @example\n * // How many calendar ISO weeks are between 6 July 2014 and 21 July 2014?\n * var result = differenceInCalendarISOWeeks(\n * new Date(2014, 6, 21),\n * new Date(2014, 6, 6)\n * )\n * //=> 3\n */\nvar differenceInCalendarISOWeeks = function(dirtyDateLeft, dirtyDateRight) {\n var startOfISOWeekLeft = startOfISOWeek(dirtyDateLeft)\n var startOfISOWeekRight = startOfISOWeek(dirtyDateRight)\n\n var timestampLeft = startOfISOWeekLeft.getTime()\n - startOfISOWeekLeft.getTimezoneOffset() * MILLISECONDS_IN_MINUTE\n var timestampRight = startOfISOWeekRight.getTime()\n - startOfISOWeekRight.getTimezoneOffset() * MILLISECONDS_IN_MINUTE\n\n // Round the number of days to the nearest integer\n // because the number of milliseconds in a week is not constant\n // (e.g. it's different in the week of the daylight saving time clock shift)\n return Math.round((timestampLeft - timestampRight) / MILLISECONDS_IN_WEEK)\n}\n\nmodule.exports = differenceInCalendarISOWeeks\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/difference_in_calendar_iso_weeks/index.js\n **/","var getISOYear = require('../get_iso_year')\n\n/**\n * @category ISO Week-Numbering Year Helpers\n * @summary Get the number of calendar ISO week-numbering years between the given dates.\n *\n * @description\n * Get the number of calendar ISO week-numbering years between the given dates.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param {Date|String|Number} dateLeft - the later date\n * @param {Date|String|Number} dateRight - the earlier date\n * @returns {Number} the number of calendar ISO week-numbering years\n *\n * @example\n * // How many calendar ISO week-numbering years are 1 January 2010 and 1 January 2012?\n * var result = differenceInCalendarISOYears(\n * new Date(2012, 0, 1),\n * new Date(2010, 0, 1)\n * )\n * //=> 2\n */\nvar differenceInCalendarISOYears = function(dirtyDateLeft, dirtyDateRight) {\n return getISOYear(dirtyDateLeft) - getISOYear(dirtyDateRight)\n}\n\nmodule.exports = differenceInCalendarISOYears\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/difference_in_calendar_iso_years/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Month Helpers\n * @summary Get the number of calendar months between the given dates.\n *\n * @description\n * Get the number of calendar months between the given dates.\n *\n * @param {Date|String|Number} dateLeft - the later date\n * @param {Date|String|Number} dateRight - the earlier date\n * @returns {Number} the number of calendar months\n *\n * @example\n * // How many calendar months are between 31 January 2014 and 1 September 2014?\n * var result = differenceInCalendarMonths(\n * new Date(2014, 8, 1),\n * new Date(2014, 0, 31)\n * )\n * //=> 8\n */\nvar differenceInCalendarMonths = function(dirtyDateLeft, dirtyDateRight) {\n var dateLeft = parse(dirtyDateLeft)\n var dateRight = parse(dirtyDateRight)\n\n var yearDiff = dateLeft.getFullYear() - dateRight.getFullYear()\n var monthDiff = dateLeft.getMonth() - dateRight.getMonth()\n\n return yearDiff * 12 + monthDiff\n}\n\nmodule.exports = differenceInCalendarMonths\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/difference_in_calendar_months/index.js\n **/","var getQuarter = require('../get_quarter')\nvar parse = require('../parse')\n\n/**\n * @category Quarter Helpers\n * @summary Get the number of calendar quarters between the given dates.\n *\n * @description\n * Get the number of calendar quarters between the given dates.\n *\n * @param {Date|String|Number} dateLeft - the later date\n * @param {Date|String|Number} dateRight - the earlier date\n * @returns {Number} the number of calendar quarters\n *\n * @example\n * // How many calendar quarters are between 31 December 2013 and 2 July 2014?\n * var result = differenceInCalendarQuarters(\n * new Date(2014, 6, 2),\n * new Date(2013, 11, 31)\n * )\n * //=> 3\n */\nvar differenceInCalendarQuarters = function(dirtyDateLeft, dirtyDateRight) {\n var dateLeft = parse(dirtyDateLeft)\n var dateRight = parse(dirtyDateRight)\n\n var yearDiff = dateLeft.getFullYear() - dateRight.getFullYear()\n var quarterDiff = getQuarter(dateLeft) - getQuarter(dateRight)\n\n return yearDiff * 4 + quarterDiff\n}\n\nmodule.exports = differenceInCalendarQuarters\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/difference_in_calendar_quarters/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Quarter Helpers\n * @summary Get the year quarter.\n *\n * @description\n * Get the year quarter of the given date.\n *\n * @param {Date|String|Number} date - the given date\n * @returns {Number} the quarter\n *\n * @example\n * // Which quarter is 2 July 2014?\n * var result = getQuarter(new Date(2014, 6, 2))\n * //=> 3\n */\nvar getQuarter = function(dirtyDate) {\n var date = parse(dirtyDate)\n var quarter = Math.floor(date.getMonth() / 3) + 1\n return quarter\n}\n\nmodule.exports = getQuarter\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/get_quarter/index.js\n **/","var startOfWeek = require('../start_of_week')\n\nvar MILLISECONDS_IN_MINUTE = 60000\nvar MILLISECONDS_IN_WEEK = 604800000\n\n/**\n * @category Week Helpers\n * @summary Get the number of calendar weeks between the given dates.\n *\n * @description\n * Get the number of calendar weeks between the given dates.\n *\n * @param {Date|String|Number} dateLeft - the later date\n * @param {Date|String|Number} dateRight - the earlier date\n * @param {Object} [options] - the object with options\n * @param {Number} [options.weekStartsAt=0] - the index of the first day of a week (0 - sunday)\n * @returns {Number} the number of calendar weeks\n *\n * @example\n * // How many calendar weeks are between 5 July 2014 and 20 July 2014?\n * var result = differenceInCalendarWeeks(\n * new Date(2014, 6, 20),\n * new Date(2014, 6, 5)\n * )\n * //=> 3\n *\n * @example\n * // If weeks starts at Monday,\n * // how many calendar weeks are between 5 July 2014 and 20 July 2014?\n * var result = differenceInCalendarWeeks(\n * new Date(2014, 6, 20),\n * new Date(2014, 6, 5),\n * {weekStartsAt: 1}\n * )\n * //=> 2\n */\nvar differenceInCalendarWeeks = function(dirtyDateLeft, dirtyDateRight, options) {\n var startOfWeekLeft = startOfWeek(dirtyDateLeft, options)\n var startOfWeekRight = startOfWeek(dirtyDateRight, options)\n\n var timestampLeft = startOfWeekLeft.getTime()\n - startOfWeekLeft.getTimezoneOffset() * MILLISECONDS_IN_MINUTE\n var timestampRight = startOfWeekRight.getTime()\n - startOfWeekRight.getTimezoneOffset() * MILLISECONDS_IN_MINUTE\n\n // Round the number of days to the nearest integer\n // because the number of milliseconds in a week is not constant\n // (e.g. it's different in the week of the daylight saving time clock shift)\n return Math.round((timestampLeft - timestampRight) / MILLISECONDS_IN_WEEK)\n}\n\nmodule.exports = differenceInCalendarWeeks\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/difference_in_calendar_weeks/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Year Helpers\n * @summary Get the number of calendar years between the given dates.\n *\n * @description\n * Get the number of calendar years between the given dates.\n *\n * @param {Date|String|Number} dateLeft - the later date\n * @param {Date|String|Number} dateRight - the earlier date\n * @returns {Number} the number of calendar years\n *\n * @example\n * // How many calendar years are between 31 December 2013 and 11 February 2015?\n * var result = differenceInCalendarYears(\n * new Date(2015, 1, 11),\n * new Date(2013, 11, 31)\n * )\n * //=> 2\n */\nvar differenceInCalendarYears = function(dirtyDateLeft, dirtyDateRight) {\n var dateLeft = parse(dirtyDateLeft)\n var dateRight = parse(dirtyDateRight)\n\n return dateLeft.getFullYear() - dateRight.getFullYear()\n}\n\nmodule.exports = differenceInCalendarYears\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/difference_in_calendar_years/index.js\n **/","var parse = require('../parse')\nvar differenceInCalendarDays = require('../difference_in_calendar_days')\nvar compareAsc = require('../compare_asc')\n\n/**\n * @category Day Helpers\n * @summary Get the number of full days between the given dates.\n *\n * @description\n * Get the number of full days between the given dates.\n *\n * @param {Date|String|Number} dateLeft - the later date\n * @param {Date|String|Number} dateRight - the earlier date\n * @returns {Number} the number of full days\n *\n * @example\n * // How many full days are between\n * // 2 July 2011 23:00:00 and 2 July 2012 00:00:00?\n * var result = differenceInDays(\n * new Date(2012, 6, 2, 0, 0),\n * new Date(2011, 6, 2, 23, 0)\n * )\n * //=> 365\n */\nvar differenceInDays = function(dirtyDateLeft, dirtyDateRight) {\n var dateLeft = parse(dirtyDateLeft)\n var dateRight = parse(dirtyDateRight)\n\n var sign = compareAsc(dateLeft, dateRight)\n var difference = Math.abs(differenceInCalendarDays(dateLeft, dateRight))\n dateLeft.setDate(dateLeft.getDate() - sign * difference)\n\n // Math.abs(diff in full days - diff in calendar days) === 1 if last calendar day is not full\n // If so, result must be decreased by 1 in absolute value\n var isLastDayNotFull = compareAsc(dateLeft, dateRight) === -sign\n return sign * (difference - isLastDayNotFull)\n}\n\nmodule.exports = differenceInDays\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/difference_in_days/index.js\n **/","var differenceInMilliseconds = require('../difference_in_milliseconds')\n\nvar MILLISECONDS_IN_HOUR = 3600000\n\n/**\n * @category Hour Helpers\n * @summary Get the number of hours between the given dates.\n *\n * @description\n * Get the number of hours between the given dates.\n *\n * @param {Date|String|Number} dateLeft - the later date\n * @param {Date|String|Number} dateRight - the earlier date\n * @returns {Number} the number of hours\n *\n * @example\n * // How many hours are between 2 July 2014 06:50:00 and 2 July 2014 19:00:00?\n * var result = differenceInHours(\n * new Date(2014, 6, 2, 19, 0),\n * new Date(2014, 6, 2, 6, 50)\n * )\n * //=> 12\n */\nvar differenceInHours = function(dirtyDateLeft, dirtyDateRight) {\n var diff = differenceInMilliseconds(dirtyDateLeft, dirtyDateRight) / MILLISECONDS_IN_HOUR\n return diff > 0 ? Math.floor(diff) : Math.ceil(diff)\n}\n\nmodule.exports = differenceInHours\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/difference_in_hours/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Millisecond Helpers\n * @summary Get the number of milliseconds between the given dates.\n *\n * @description\n * Get the number of milliseconds between the given dates.\n *\n * @param {Date|String|Number} dateLeft - the later date\n * @param {Date|String|Number} dateRight - the earlier date\n * @returns {Number} the number of milliseconds\n *\n * @example\n * // How many milliseconds are between\n * // 2 July 2014 12:30:20.600 and 2 July 2014 12:30:21.700?\n * var result = differenceInMilliseconds(\n * new Date(2014, 6, 2, 12, 30, 21, 700),\n * new Date(2014, 6, 2, 12, 30, 20, 600)\n * )\n * //=> 1100\n */\nvar differenceInMilliseconds = function(dirtyDateLeft, dirtyDateRight) {\n var dateLeft = parse(dirtyDateLeft)\n var dateRight = parse(dirtyDateRight)\n return dateLeft.getTime() - dateRight.getTime()\n}\n\nmodule.exports = differenceInMilliseconds\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/difference_in_milliseconds/index.js\n **/","var parse = require('../parse')\nvar differenceInCalendarISOYears = require('../difference_in_calendar_iso_years')\nvar compareAsc = require('../compare_asc')\nvar subISOYears = require('../sub_iso_years')\n\n/**\n * @category ISO Week-Numbering Year Helpers\n * @summary Get the number of full ISO week-numbering years between the given dates.\n *\n * @description\n * Get the number of full ISO week-numbering years between the given dates.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param {Date|String|Number} dateLeft - the later date\n * @param {Date|String|Number} dateRight - the earlier date\n * @returns {Number} the number of full ISO week-numbering years\n *\n * @example\n * // How many full ISO week-numbering years are between 1 January 2010 and 1 January 2012?\n * var result = differenceInISOYears(\n * new Date(2012, 0, 1),\n * new Date(2010, 0, 1)\n * )\n * //=> 1\n */\nvar differenceInISOYears = function(dirtyDateLeft, dirtyDateRight) {\n var dateLeft = parse(dirtyDateLeft)\n var dateRight = parse(dirtyDateRight)\n\n var sign = compareAsc(dateLeft, dateRight)\n var difference = Math.abs(differenceInCalendarISOYears(dateLeft, dateRight))\n dateLeft = subISOYears(dateLeft, sign * difference)\n\n // Math.abs(diff in full ISO years - diff in calendar ISO years) === 1\n // if last calendar ISO year is not full\n // If so, result must be decreased by 1 in absolute value\n var isLastISOYearNotFull = compareAsc(dateLeft, dateRight) === -sign\n return sign * (difference - isLastISOYearNotFull)\n}\n\nmodule.exports = differenceInISOYears\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/difference_in_iso_years/index.js\n **/","var addISOYears = require('../add_iso_years')\n\n/**\n * @category ISO Week-Numbering Year Helpers\n * @summary Subtract the specified number of ISO week-numbering years from the given date.\n *\n * @description\n * Subtract the specified number of ISO week-numbering years from the given date.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} amount - the amount of ISO week-numbering years to be subtracted\n * @returns {Date} the new date with the ISO week-numbering years subtracted\n *\n * @example\n * // Subtract 5 ISO week-numbering years from 1 September 2014:\n * var result = subISOYears(new Date(2014, 8, 1), 5)\n * //=> Mon Aug 31 2009 00:00:00\n */\nvar subISOYears = function(dirtyDate, amount) {\n return addISOYears(dirtyDate, -amount)\n}\n\nmodule.exports = subISOYears\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/sub_iso_years/index.js\n **/","var differenceInMilliseconds = require('../difference_in_milliseconds')\n\nvar MILLISECONDS_IN_MINUTE = 60000\n\n/**\n * @category Minute Helpers\n * @summary Get the number of minutes between the given dates.\n *\n * @description\n * Get the number of minutes between the given dates.\n *\n * @param {Date|String|Number} dateLeft - the later date\n * @param {Date|String|Number} dateRight - the earlier date\n * @returns {Number} the number of minutes\n *\n * @example\n * // How many minutes are between 2 July 2014 12:07:59 and 2 July 2014 12:20:00?\n * var result = differenceInMinutes(\n * new Date(2014, 6, 2, 12, 20, 0),\n * new Date(2014, 6, 2, 12, 7, 59)\n * )\n * //=> 12\n */\nvar differenceInMinutes = function(dirtyDateLeft, dirtyDateRight) {\n var diff = differenceInMilliseconds(dirtyDateLeft, dirtyDateRight) / MILLISECONDS_IN_MINUTE\n return diff > 0 ? Math.floor(diff) : Math.ceil(diff)\n}\n\nmodule.exports = differenceInMinutes\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/difference_in_minutes/index.js\n **/","var parse = require('../parse')\nvar differenceInCalendarMonths = require('../difference_in_calendar_months')\nvar compareAsc = require('../compare_asc')\n\n/**\n * @category Month Helpers\n * @summary Get the number of full months between the given dates.\n *\n * @description\n * Get the number of full months between the given dates.\n *\n * @param {Date|String|Number} dateLeft - the later date\n * @param {Date|String|Number} dateRight - the earlier date\n * @returns {Number} the number of full months\n *\n * @example\n * // How many full months are between 31 January 2014 and 1 September 2014?\n * var result = differenceInMonths(\n * new Date(2014, 8, 1),\n * new Date(2014, 0, 31)\n * )\n * //=> 7\n */\nvar differenceInMonths = function(dirtyDateLeft, dirtyDateRight) {\n var dateLeft = parse(dirtyDateLeft)\n var dateRight = parse(dirtyDateRight)\n\n var sign = compareAsc(dateLeft, dateRight)\n var difference = Math.abs(differenceInCalendarMonths(dateLeft, dateRight))\n dateLeft.setMonth(dateLeft.getMonth() - sign * difference)\n\n // Math.abs(diff in full months - diff in calendar months) === 1 if last calendar month is not full\n // If so, result must be decreased by 1 in absolute value\n var isLastMonthNotFull = compareAsc(dateLeft, dateRight) === -sign\n return sign * (difference - isLastMonthNotFull)\n}\n\nmodule.exports = differenceInMonths\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/difference_in_months/index.js\n **/","var differenceInMonths = require('../difference_in_months')\n\n/**\n * @category Quarter Helpers\n * @summary Get the number of full quarters between the given dates.\n *\n * @description\n * Get the number of full quarters between the given dates.\n *\n * @param {Date|String|Number} dateLeft - the later date\n * @param {Date|String|Number} dateRight - the earlier date\n * @returns {Number} the number of full quarters\n *\n * @example\n * // How many full quarters are between 31 December 2013 and 2 July 2014?\n * var result = differenceInQuarters(\n * new Date(2014, 6, 2),\n * new Date(2013, 11, 31)\n * )\n * //=> 2\n */\nvar differenceInQuarters = function(dirtyDateLeft, dirtyDateRight) {\n var diff = differenceInMonths(dirtyDateLeft, dirtyDateRight) / 3\n return diff > 0 ? Math.floor(diff) : Math.ceil(diff)\n}\n\nmodule.exports = differenceInQuarters\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/difference_in_quarters/index.js\n **/","var differenceInMilliseconds = require('../difference_in_milliseconds')\n\n/**\n * @category Second Helpers\n * @summary Get the number of seconds between the given dates.\n *\n * @description\n * Get the number of seconds between the given dates.\n *\n * @param {Date|String|Number} dateLeft - the later date\n * @param {Date|String|Number} dateRight - the earlier date\n * @returns {Number} the number of seconds\n *\n * @example\n * // How many seconds are between\n * // 2 July 2014 12:30:07.999 and 2 July 2014 12:30:20.000?\n * var result = differenceInSeconds(\n * new Date(2014, 6, 2, 12, 30, 20, 0),\n * new Date(2014, 6, 2, 12, 30, 7, 999)\n * )\n * //=> 12\n */\nvar differenceInSeconds = function(dirtyDateLeft, dirtyDateRight) {\n var diff = differenceInMilliseconds(dirtyDateLeft, dirtyDateRight) / 1000\n return diff > 0 ? Math.floor(diff) : Math.ceil(diff)\n}\n\nmodule.exports = differenceInSeconds\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/difference_in_seconds/index.js\n **/","var differenceInDays = require('../difference_in_days')\n\n/**\n * @category Week Helpers\n * @summary Get the number of full weeks between the given dates.\n *\n * @description\n * Get the number of full weeks between the given dates.\n *\n * @param {Date|String|Number} dateLeft - the later date\n * @param {Date|String|Number} dateRight - the earlier date\n * @returns {Number} the number of full weeks\n *\n * @example\n * // How many full weeks are between 5 July 2014 and 20 July 2014?\n * var result = differenceInWeeks(\n * new Date(2014, 6, 20),\n * new Date(2014, 6, 5)\n * )\n * //=> 2\n */\nvar differenceInWeeks = function(dirtyDateLeft, dirtyDateRight) {\n var diff = differenceInDays(dirtyDateLeft, dirtyDateRight) / 7\n return diff > 0 ? Math.floor(diff) : Math.ceil(diff)\n}\n\nmodule.exports = differenceInWeeks\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/difference_in_weeks/index.js\n **/","var parse = require('../parse')\nvar differenceInCalendarYears = require('../difference_in_calendar_years')\nvar compareAsc = require('../compare_asc')\n\n/**\n * @category Year Helpers\n * @summary Get the number of full years between the given dates.\n *\n * @description\n * Get the number of full years between the given dates.\n *\n * @param {Date|String|Number} dateLeft - the later date\n * @param {Date|String|Number} dateRight - the earlier date\n * @returns {Number} the number of full years\n *\n * @example\n * // How many full years are between 31 December 2013 and 11 February 2015?\n * var result = differenceInYears(\n * new Date(2015, 1, 11),\n * new Date(2013, 11, 31)\n * )\n * //=> 1\n */\nvar differenceInYears = function(dirtyDateLeft, dirtyDateRight) {\n var dateLeft = parse(dirtyDateLeft)\n var dateRight = parse(dirtyDateRight)\n\n var sign = compareAsc(dateLeft, dateRight)\n var difference = Math.abs(differenceInCalendarYears(dateLeft, dateRight))\n dateLeft.setFullYear(dateLeft.getFullYear() - sign * difference)\n\n // Math.abs(diff in full years - diff in calendar years) === 1 if last calendar year is not full\n // If so, result must be decreased by 1 in absolute value\n var isLastYearNotFull = compareAsc(dateLeft, dateRight) === -sign\n return sign * (difference - isLastYearNotFull)\n}\n\nmodule.exports = differenceInYears\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/difference_in_years/index.js\n **/","var isBefore = require('../is_before')\nvar parse = require('../parse')\nvar differenceInSeconds = require('../difference_in_seconds')\nvar differenceInMonths = require('../difference_in_months')\n\nvar MINUTES_IN_DAY = 1440\nvar MINUTES_IN_ALMOST_TWO_DAYS = 2520\nvar MINUTES_IN_MONTH = 43200\nvar MINUTES_IN_TWO_MONTHS = 86400\n\n/**\n * @category Common Helpers\n * @summary Return the distance between the given dates in words.\n *\n * @description\n * Return the distance between the given dates in words.\n *\n * | Distance between dates | Result |\n * |-------------------------------------------------------------------|---------------------|\n * | 0 ... 30 secs | less than a minute |\n * | 30 secs ... 1 min 30 secs | 1 minute |\n * | 1 min 30 secs ... 44 mins 30 secs | [2..44] minutes |\n * | 44 mins ... 30 secs ... 89 mins 30 secs | about 1 hour |\n * | 89 mins 30 secs ... 23 hrs 59 mins 30 secs | about [2..24] hours |\n * | 23 hrs 59 mins 30 secs ... 41 hrs 59 mins 30 secs | 1 day |\n * | 41 hrs 59 mins 30 secs ... 29 days 23 hrs 59 mins 30 secs | [2..30] days |\n * | 29 days 23 hrs 59 mins 30 secs ... 44 days 23 hrs 59 mins 30 secs | about 1 month |\n * | 44 days 23 hrs 59 mins 30 secs ... 59 days 23 hrs 59 mins 30 secs | about 2 months |\n * | 59 days 23 hrs 59 mins 30 secs ... 1 yr | [2..12] months |\n * | 1 yr ... 1 yr 3 months | about 1 year |\n * | 1 yr 3 months ... 1 yr 9 month s | over 1 year |\n * | 1 yr 9 months ... 2 yrs | almost 2 years |\n * | N yrs ... N yrs 3 months | about N years |\n * | N yrs 3 months ... N yrs 9 months | over N years |\n * | N yrs 9 months ... N+1 yrs | almost N+1 years |\n *\n * With `options.includeSeconds == true`:\n * | Distance between dates | Result |\n * |------------------------|----------------------|\n * | 0 secs ... 5 secs | less than 5 seconds |\n * | 5 secs ... 10 secs | less than 10 seconds |\n * | 10 secs ... 20 secs | less than 20 seconds |\n * | 20 secs ... 40 secs | half a minute |\n * | 40 secs ... 60 secs | less than a minute |\n * | 60 secs ... 90 secs | 1 minute |\n *\n * @param {Date|String|Number} dateFrom - the first date of the distance\n * @param {Date|String|Number} dateTo - the second date of the distance\n * @param {Object} [options] - the object with options\n * @param {Boolean} [options.includeSeconds=false] - distances less than a minute are more detailed\n * @returns {String} the distance in words\n *\n * @example\n * // If today is 1 January 2015, what is the distance to 2 July 2014?\n * var result = distanceInWords(\n * new Date(2014, 6, 2)\n * )\n * //=> '6 months'\n *\n * @example\n * // If now is 1 January 2015 00:00:00,\n * // what is the distance to 1 January 2015 00:00:15, including seconds?\n * var result = distanceInWords(\n * new Date(2015, 0, 1, 0, 0, 15),\n * {includeSeconds: true}\n * )\n * //=> 'less than 20 seconds'\n */\nvar distanceInWords = function(dirtyDateFrom, dirtyDateTo, options) {\n if (isBefore(dirtyDateFrom, dirtyDateTo)) {\n var dateFrom = parse(dirtyDateFrom)\n var dateTo = parse(dirtyDateTo)\n } else {\n var dateFrom = parse(dirtyDateTo)\n var dateTo = parse(dirtyDateFrom)\n }\n\n var includeSeconds = options ? options.includeSeconds : false\n var seconds = differenceInSeconds(dateTo, dateFrom)\n var offset = dateTo.getTimezoneOffset() - dateFrom.getTimezoneOffset()\n var minutes = Math.round(seconds / 60) - offset\n\n // 0 up to 2 mins\n if (minutes < 2) {\n if (includeSeconds) {\n if (seconds < 5) {\n return translate('lessThanXSeconds', 5)\n } else if (seconds < 10) {\n return translate('lessThanXSeconds', 10)\n } else if (seconds < 20) {\n return translate('lessThanXSeconds', 20)\n } else if (seconds < 40) {\n return translate('halfAMinute')\n } else if (seconds < 60) {\n return translate('lessThanXMinutes', 1)\n } else {\n return translate('xMinutes', 1)\n }\n } else {\n if (minutes == 0) {\n return translate('lessThanXMinutes', 1)\n } else {\n return translate('xMinutes', minutes)\n }\n }\n\n // 2 mins up to 0.75 hrs\n } else if (minutes < 45) {\n return translate('xMinutes', minutes)\n\n // 0.75 hrs up to 1.5 hrs\n } else if (minutes < 90) {\n return translate('aboutXHours', 1)\n\n // 1.5 hrs up to 24 hrs\n } else if (minutes < MINUTES_IN_DAY) {\n var hours = Math.round(minutes / 60)\n return translate('aboutXHours', hours)\n\n // 1 day up to 1.75 days\n } else if (minutes < MINUTES_IN_ALMOST_TWO_DAYS) {\n return translate('xDays', 1)\n\n // 1.75 days up to 30 days\n } else if (minutes < MINUTES_IN_MONTH) {\n var days = Math.round(minutes / MINUTES_IN_DAY)\n return translate('xDays', days)\n\n // 1 month up to 2 months\n } else if (minutes < MINUTES_IN_TWO_MONTHS) {\n var months = Math.round(minutes / MINUTES_IN_MONTH)\n return translate('aboutXMonths', months)\n }\n\n var months = differenceInMonths(dateTo, dateFrom)\n\n // 2 months up to 12 months\n if (months < 12) {\n var nearestMonth = Math.round(minutes / MINUTES_IN_MONTH)\n return translate('xMonths', nearestMonth)\n\n // 1 year up to max Date\n } else {\n var monthsSinceStartOfYear = months % 12\n var years = Math.floor(months / 12)\n\n // N years up to 1 years 3 months\n if (monthsSinceStartOfYear < 3) {\n return translate('aboutXYears', years)\n\n // N years 3 months up to N years 9 months\n } else if (monthsSinceStartOfYear < 9) {\n return translate('overXYears', years)\n\n // N years 9 months up to N year 12 months\n } else {\n return translate('almostXYears', years + 1)\n }\n }\n}\n\nvar translate = function(token, count) {\n if (count === undefined) {\n return locale[token]\n } else if (count === 1) {\n return locale[token].one\n } else {\n return locale[token].other.replace('${count}', count)\n }\n}\n\nvar locale = {\n lessThanXSeconds: {\n one: 'less than a second',\n other: 'less than ${count} seconds'\n },\n\n halfAMinute: 'half a minute',\n\n lessThanXMinutes: {\n one: 'less than a minute',\n other: 'less than ${count} minutes'\n },\n\n xMinutes: {\n one: '1 minute',\n other: '${count} minutes'\n },\n\n aboutXHours: {\n one: 'about 1 hour',\n other: 'about ${count} hours'\n },\n\n xDays: {\n one: '1 day',\n other: '${count} days'\n },\n\n aboutXMonths: {\n one: 'about 1 month',\n other: 'about ${count} months'\n },\n\n xMonths: {\n one: '1 month',\n other: '${count} months'\n },\n\n aboutXYears: {\n one: 'about 1 year',\n other: 'about ${count} years'\n },\n\n overXYears: {\n one: 'over 1 year',\n other: 'over ${count} years'\n },\n\n almostXYears: {\n one: 'almost 1 year',\n other: 'almost ${count} years'\n }\n}\n\nmodule.exports = distanceInWords\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/distance_in_words/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Common Helpers\n * @summary Is the first date before the second one?\n *\n * @description\n * Is the first date before the second one?\n *\n * @param {Date|String|Number} dateToCompare - the date to compare with\n * @param {Date|String|Number} date - the date that should be before the first one to return true\n * @returns {Boolean} the first date is before the second date\n *\n * @example\n * // Is 10 July 1989 before 11 February 1987?\n * var result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11))\n * //=> false\n */\nvar isBefore = function(dirtyDateToCompare, dirtyDate) {\n var dateToCompare = parse(dirtyDateToCompare)\n var date = parse(dirtyDate)\n return dateToCompare.getTime() < date.getTime()\n}\n\nmodule.exports = isBefore\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_before/index.js\n **/","var distanceInWords = require('../distance_in_words')\n\n/**\n * @category Common Helpers\n * @summary Return the distance between the given date and now in words.\n *\n * @description\n * Return the distance between the given date and now in words.\n *\n * | Distance to now | Result |\n * |-------------------------------------------------------------------|---------------------|\n * | 0 ... 30 secs | less than a minute |\n * | 30 secs ... 1 min 30 secs | 1 minute |\n * | 1 min 30 secs ... 44 mins 30 secs | [2..44] minutes |\n * | 44 mins ... 30 secs ... 89 mins 30 secs | about 1 hour |\n * | 89 mins 30 secs ... 23 hrs 59 mins 30 secs | about [2..24] hours |\n * | 23 hrs 59 mins 30 secs ... 41 hrs 59 mins 30 secs | 1 day |\n * | 41 hrs 59 mins 30 secs ... 29 days 23 hrs 59 mins 30 secs | [2..30] days |\n * | 29 days 23 hrs 59 mins 30 secs ... 44 days 23 hrs 59 mins 30 secs | about 1 month |\n * | 44 days 23 hrs 59 mins 30 secs ... 59 days 23 hrs 59 mins 30 secs | about 2 months |\n * | 59 days 23 hrs 59 mins 30 secs ... 1 yr | [2..12] months |\n * | 1 yr ... 1 yr 3 months | about 1 year |\n * | 1 yr 3 months ... 1 yr 9 month s | over 1 year |\n * | 1 yr 9 months ... 2 yrs | almost 2 years |\n * | N yrs ... N yrs 3 months | about N years |\n * | N yrs 3 months ... N yrs 9 months | over N years |\n * | N yrs 9 months ... N+1 yrs | almost N+1 years |\n *\n * With `options.includeSeconds == true`:\n * | Distance to now | Result |\n * |---------------------|----------------------|\n * | 0 secs ... 5 secs | less than 5 seconds |\n * | 5 secs ... 10 secs | less than 10 seconds |\n * | 10 secs ... 20 secs | less than 20 seconds |\n * | 20 secs ... 40 secs | half a minute |\n * | 40 secs ... 60 secs | less than a minute |\n * | 60 secs ... 90 secs | 1 minute |\n *\n * @param {Date|String|Number} date - the given date\n * @param {Object} [options] - the object with options\n * @param {Boolean} [options.includeSeconds=false] - distances less than a minute are more detailed\n * @returns {String} the distance in words\n *\n * @example\n * // What is the distance between 2 July 2014 and 1 January 2015?\n * var result = distanceInWords(\n * new Date(2014, 6, 2),\n * new Date(2015, 0, 1)\n * )\n * //=> '6 months'\n *\n * @example\n * // What is the distance between 1 January 2015 00:00:15\n * // and 1 January 2015 00:00:00, including seconds?\n * var result = distanceInWords(\n * new Date(2015, 0, 1, 0, 0, 15),\n * new Date(2015, 0, 1, 0, 0, 0),\n * {includeSeconds: true}\n * )\n * //=> 'less than 20 seconds'\n */\nvar distanceInWordsToNow = function(dirtyDate, options) {\n return distanceInWords(dirtyDate, Date.now(), options)\n}\n\nmodule.exports = distanceInWordsToNow\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/distance_in_words_to_now/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Day Helpers\n * @summary Return the array of dates within the specified range.\n *\n * @description\n * Return the array of dates within the specified range.\n *\n * @param {Date|String|Number} startDate - the start of range\n * @param {Date|String|Number} endDate - the end of range\n * @returns {Date[]} the array of dates for every day of the range\n * @throws {Error} endDate must have a time value greater than a time value of startDate\n *\n * @example\n * // Each day between 6 October 2014 and 10 October 2014:\n * var result = eachDay(\n * new Date(2014, 9, 6),\n * new Date(2014, 9, 10)\n * )\n * //=> [\n * // Mon Oct 06 2014 00:00:00,\n * // Tue Oct 07 2014 00:00:00,\n * // Wed Oct 08 2014 00:00:00,\n * // Thu Oct 09 2014 00:00:00,\n * // Fri Oct 10 2014 00:00:00\n * // ]\n */\nvar eachDay = function(dirtyStartDate, dirtyEndDate) {\n var startDate = parse(dirtyStartDate)\n var endDate = parse(dirtyEndDate)\n\n var endTime = endDate.getTime()\n\n if (startDate.getTime() > endTime) {\n throw new Error('The end of range must have a time value greater than a time value of the start of range')\n }\n\n var dates = []\n\n var currentDate = startDate\n currentDate.setHours(0, 0, 0, 0)\n\n while (currentDate.getTime() <= endTime) {\n dates.push(new Date(currentDate))\n currentDate.setDate(currentDate.getDate() + 1)\n }\n\n return dates\n}\n\nmodule.exports = eachDay\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/each_day/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Day Helpers\n * @summary Return the end of a day for the given date.\n *\n * @description\n * Return the end of a day for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the end of a day\n *\n * @example\n * // The end of a day for 2 September 2014 11:55:00:\n * var result = endOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 23:59:59.999\n */\nvar endOfDay = function(dirtyDate) {\n var date = parse(dirtyDate)\n date.setHours(23, 59, 59, 999)\n return date\n}\n\nmodule.exports = endOfDay\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/end_of_day/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Hour Helpers\n * @summary Return the end of an hour for the given date.\n *\n * @description\n * Return the end of an hour for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the end of an hour\n *\n * @example\n * // The end of an hour for 2 September 2014 11:55:00:\n * var result = endOfHour(new Date(2014, 8, 2, 11, 55))\n * //=> Tue Sep 02 2014 11:59:59.999\n */\nvar endOfHour = function(dirtyDate) {\n var date = parse(dirtyDate)\n date.setMinutes(59, 59, 999)\n return date\n}\n\nmodule.exports = endOfHour\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/end_of_hour/index.js\n **/","var endOfWeek = require('../end_of_week')\n\n/**\n * @category ISO Week Helpers\n * @summary Return the end of an ISO week for the given date.\n *\n * @description\n * Return the end of an ISO week for the given date.\n * The result will be in the local timezone.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the end of an ISO week\n *\n * @example\n * // The end of an ISO week for 2 September 2014 11:55:00:\n * var result = endOfISOWeek(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Sun Sep 07 2014 23:59:59.999\n */\nvar endOfISOWeek = function(dirtyDate) {\n return endOfWeek(dirtyDate, {weekStartsAt: 1})\n}\n\nmodule.exports = endOfISOWeek\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/end_of_iso_week/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Week Helpers\n * @summary Return the end of a week for the given date.\n *\n * @description\n * Return the end of a week for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|String|Number} date - the original date\n * @param {Object} [options] - the object with options\n * @param {Number} [options.weekStartsAt=0] - the index of the first day of a week (0 - sunday)\n * @returns {Date} the end of a week\n *\n * @example\n * // The end of a week for 2 September 2014 11:55:00:\n * var result = endOfWeek(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Sat Sep 06 2014 23:59:59.999\n *\n * @example\n * // If week starts at Monday, the end of a week for 2 September 2014 11:55:00:\n * var result = endOfWeek(new Date(2014, 8, 2, 11, 55, 0), {weekStartsAt: 1})\n * //=> Sun Sep 07 2014 23:59:59.999\n */\nvar endOfWeek = function(dirtyDate, options) {\n var weekStartsAt = options ? (options.weekStartsAt || 0) : 0\n\n var date = parse(dirtyDate)\n var day = date.getDay()\n var diff = (day < weekStartsAt ? -7 : 0) + 6 - (day - weekStartsAt)\n\n date.setDate(date.getDate() + diff)\n date.setHours(23, 59, 59, 999)\n return date\n}\n\nmodule.exports = endOfWeek\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/end_of_week/index.js\n **/","var getISOYear = require('../get_iso_year')\nvar startOfISOWeek = require('../start_of_iso_week')\n\n/**\n * @category ISO Week-Numbering Year Helpers\n * @summary Return the end of an ISO week-numbering year for the given date.\n *\n * @description\n * Return the end of an ISO week-numbering year,\n * which always starts 3 days before the year's first Thursday.\n * The result will be in the local timezone.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the end of an ISO year\n *\n * @example\n * // The end of an ISO week-numbering year for 2 July 2005:\n * var result = endOfISOYear(new Date(2005, 6, 2))\n * //=> Sun Jan 01 2006 23:59:59.999\n */\nvar endOfISOYear = function(dirtyDate) {\n var year = getISOYear(dirtyDate)\n var date = startOfISOWeek(new Date(year + 1, 0, 4))\n date.setMilliseconds(date.getMilliseconds() - 1)\n return date\n}\n\nmodule.exports = endOfISOYear\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/end_of_iso_year/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Minute Helpers\n * @summary Return the end of a minute for the given date.\n *\n * @description\n * Return the end of a minute for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the end of a minute\n *\n * @example\n * // The end of a minute for 1 December 2014 22:15:45.400:\n * var result = endOfMinute(new Date(2014, 11, 1, 22, 15, 45, 400))\n * //=> Mon Dec 01 2014 22:15:59.999\n */\nvar endOfMinute = function(dirtyDate) {\n var date = parse(dirtyDate)\n date.setSeconds(59, 999)\n return date\n}\n\nmodule.exports = endOfMinute\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/end_of_minute/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Month Helpers\n * @summary Return the end of a month for the given date.\n *\n * @description\n * Return the end of a month for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the end of a month\n *\n * @example\n * // The end of a month for 2 September 2014 11:55:00:\n * var result = endOfMonth(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 30 2014 23:59:59.999\n */\nvar endOfMonth = function(dirtyDate) {\n var date = parse(dirtyDate)\n var month = date.getMonth()\n date.setFullYear(date.getFullYear(), month + 1, 0)\n date.setHours(23, 59, 59, 999)\n return date\n}\n\nmodule.exports = endOfMonth\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/end_of_month/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Quarter Helpers\n * @summary Return the end of a year quarter for the given date.\n *\n * @description\n * Return the end of a quarter for the given date\n * The result will be in the local timezone.\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the end of a quarter\n *\n * @example\n * // The end of a quarter for 2 September 2014 11:55:00:\n * var result = endOfQuarter(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 30 2014 23:59:59.999\n */\nvar endOfQuarter = function(dirtyDate) {\n var date = parse(dirtyDate)\n var currentMonth = date.getMonth()\n var month = currentMonth - currentMonth % 3 + 3\n date.setMonth(month, 0)\n date.setHours(23, 59, 59, 999)\n return date\n}\n\nmodule.exports = endOfQuarter\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/end_of_quarter/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Second Helpers\n * @summary Return the end of a second for the given date.\n *\n * @description\n * Return the end of a second for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the end of a second\n *\n * @example\n * // The end of a second for 1 December 2014 22:15:45.400:\n * var result = endOfSecond(new Date(2014, 11, 1, 22, 15, 45, 400))\n * //=> Mon Dec 01 2014 22:15:45.999\n */\nvar endOfSecond = function(dirtyDate) {\n var date = parse(dirtyDate)\n date.setMilliseconds(999)\n return date\n}\n\nmodule.exports = endOfSecond\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/end_of_second/index.js\n **/","var endOfDay = require('../end_of_day')\n\n/**\n * @category Day Helpers\n * @summary Return the end of today.\n *\n * @description\n * Return the end of today.\n *\n * @returns {Date} the end of today\n *\n * @example\n * // If today is 6 October 2014:\n * var result = endOfToday()\n * //=> Mon Oct 6 2014 23:59:59\n */\nvar endOfToday = function() {\n return endOfDay(new Date())\n}\n\nmodule.exports = endOfToday\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/end_of_today/index.js\n **/","/**\n * @category Day Helpers\n * @summary Return the end of tomorrow.\n *\n * @description\n * Return the end of tomorrow.\n *\n * @returns {Date} the end of tomorrow\n *\n * @example\n * // If today is 6 October 2014:\n * var result = endOfTomorrow()\n * //=> Tue Oct 7 2014 23:59:59\n */\nvar endOfTomorrow = function() {\n var now = new Date()\n var year = now.getFullYear()\n var month = now.getMonth()\n var day = now.getDate()\n\n return new Date(year, month, day + 1, 23, 59, 59, 999)\n}\n\nmodule.exports = endOfTomorrow\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/end_of_tomorrow/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Year Helpers\n * @summary Return the end of a year for the given date.\n *\n * @description\n * Return the end of a year for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the end of a year\n *\n * @example\n * // The end of a year for 2 September 2014 11:55:00:\n * var result = endOfYear(new Date(2014, 8, 2, 11, 55, 00))\n * //=> Wed Dec 31 2014 23:59:59.999\n */\nvar endOfYear = function(dirtyDate) {\n var date = parse(dirtyDate)\n var year = date.getFullYear()\n date.setFullYear(year + 1, 0, 0)\n date.setHours(23, 59, 59, 999)\n return date\n}\n\nmodule.exports = endOfYear\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/end_of_year/index.js\n **/","/**\n * @category Day Helpers\n * @summary Return the end of yesterday.\n *\n * @description\n * Return the end of yesterday.\n *\n * @returns {Date} the end of yesterday\n *\n * @example\n * // If today is 6 October 2014:\n * var result = endOfYesterday()\n * //=> Sun Oct 5 2014 23:59:59\n */\nvar endOfYesterday = function() {\n var now = new Date()\n var year = now.getFullYear()\n var month = now.getMonth()\n var day = now.getDate()\n\n return new Date(year, month, day - 1, 23, 59, 59, 999)\n}\n\nmodule.exports = endOfYesterday\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/end_of_yesterday/index.js\n **/","var getDayOfYear = require('../get_day_of_year')\nvar getISOWeek = require('../get_iso_week')\nvar getISOYear = require('../get_iso_year')\nvar parse = require('../parse')\n\n/**\n * @category Common Helpers\n * @summary Format the date.\n *\n * @description\n * Return the formatted date string in the given format.\n *\n * Accepted tokens:\n * | Unit | Token | Result examples |\n * |-------------------------|-------|----------------------------------|\n * | Month | M | 1, 2, ..., 12 |\n * | | Mo | 1st, 2nd, ..., 12th |\n * | | MM | 01, 02, ..., 12 |\n * | | MMM | Jan, Feb, ..., Dec |\n * | | MMMM | January, February, ..., December |\n * | Quarter | Q | 1, 2, 3, 4 |\n * | | Qo | 1st, 2nd, 3rd, 4th |\n * | Day of month | D | 1, 2, ..., 31 |\n * | | Do | 1st, 2nd, ..., 31st |\n * | | DD | 01, 02, ..., 31 |\n * | Day of year | DDD | 1, 2, ..., 366 |\n * | | DDDo | 1st, 2nd, ..., 366th |\n * | | DDDD | 001, 002, ..., 366 |\n * | Day of week | d | 0, 1, ..., 6 |\n * | | do | 0th, 1st, ..., 6th |\n * | | dd | Su, Mo, ..., Sa |\n * | | ddd | Sun, Mon, ..., Sat |\n * | | dddd | Sunday, Monday, ..., Saturday |\n * | Day of ISO week | E | 1, 2, ..., 7 |\n * | ISO week | W | 1, 2, ..., 53 |\n * | | Wo | 1st, 2nd, ..., 53rd |\n * | | WW | 01, 02, ..., 53 |\n * | Year | YY | 00, 01, ..., 99 |\n * | | YYYY | 1900, 1901, ..., 2099 |\n * | ISO week-numbering year | GG | 00, 01, ..., 99 |\n * | | GGGG | 1900, 1901, ..., 2099 |\n * | AM/PM | A | AM, PM |\n * | | a | am, pm |\n * | | aa | a.m., p.m. |\n * | Hour | H | 0, 1, ... 23 |\n * | | HH | 00, 01, ... 23 |\n * | | h | 1, 2, ..., 12 |\n * | | hh | 01, 02, ..., 12 |\n * | Minute | m | 0, 1, ..., 59 |\n * | | mm | 00, 01, ..., 59 |\n * | Second | s | 0, 1, ..., 59 |\n * | | ss | 00, 01, ..., 59 |\n * | 1/10 of second | S | 0, 1, ..., 9 |\n * | 1/100 of second | SS | 00, 01, ..., 99 |\n * | Millisecond | SSS | 000, 001, ..., 999 |\n * | Timezone | Z | -01:00, +00:00, ... +12:00 |\n * | | ZZ | -0100, +0000, ..., +1200 |\n * | Seconds timestamp | X | 512969520 |\n * | Milliseconds timestamp | x | 512969520900 |\n *\n * @param {Date|String|Number} date - the original date\n * @param {String} [format='YYYY-MM-DDTHH:mm:ss.SSSZ'] - the string of tokens\n * @returns {String} the formatted date string\n *\n * @example\n * // Represent 11 February 2014 in middle-endian format:\n * var result = format(\n * new Date(2014, 1, 11),\n * 'MM/DD/YYYY'\n * )\n * //=> '02/11/2014'\n */\nvar format = function(dirtyDate, format) {\n var date = parse(dirtyDate)\n\n if (!format) {\n format = 'YYYY-MM-DDTHH:mm:ss.SSSZ'\n }\n\n var formatFunction = makeFormatFunction(format)\n return formatFunction(date)\n}\n\nvar formats = {\n // Month: 1, 2, ..., 12\n 'M': function() {\n return this.getMonth() + 1\n },\n\n // Month: 01, 02, ..., 12\n 'MM': function() {\n return addLeadingZeros(this.getMonth() + 1, 2)\n },\n\n // Month: Jan, Feb, ..., Dec\n 'MMM': function() {\n return locale.monthsShort[this.getMonth()]\n },\n\n // Month: January, February, ..., December\n 'MMMM': function() {\n return locale.months[this.getMonth()]\n },\n\n // Quarter: 1, 2, 3, 4\n 'Q': function() {\n return Math.ceil((this.getMonth() + 1) / 3)\n },\n\n // Day of month: 1, 2, ..., 31\n 'D': function() {\n return this.getDate()\n },\n\n // Day of month: 01, 02, ..., 31\n 'DD': function() {\n return addLeadingZeros(this.getDate(), 2)\n },\n\n // Day of year: 1, 2, ..., 366\n 'DDD': function() {\n return getDayOfYear(this)\n },\n\n // Day of year: 001, 002, ..., 366\n 'DDDD': function() {\n return addLeadingZeros(getDayOfYear(this), 3)\n },\n\n // Day of week: 0, 1, ..., 6\n 'd': function() {\n return this.getDay()\n },\n\n // Day of week: Su, Mo, ..., Sa\n 'dd': function() {\n return locale.dayNamesMin[this.getDay()]\n },\n\n // Day of week: Sun, Mon, ..., Sat\n 'ddd': function() {\n return locale.dayNamesShort[this.getDay()]\n },\n\n // Day of week: Sunday, Monday, ..., Saturday\n 'dddd': function() {\n return locale.dayNames[this.getDay()]\n },\n\n // Day of ISO week: 1, 2, ..., 7\n 'E': function() {\n return this.getDay() || 7\n },\n\n // ISO week: 1, 2, ..., 53\n 'W': function() {\n return getISOWeek(this)\n },\n\n // ISO week: 01, 02, ..., 53\n 'WW': function() {\n return addLeadingZeros(getISOWeek(this), 2)\n },\n\n // Year: 00, 01, ..., 99\n 'YY': function() {\n return String(this.getFullYear()).substr(2)\n },\n\n // Year: 1900, 1901, ..., 2099\n 'YYYY': function() {\n return this.getFullYear()\n },\n\n // ISO week-numbering year: 00, 01, ..., 99\n 'GG': function() {\n return String(getISOYear(this)).substr(2)\n },\n\n // ISO week-numbering year: 1900, 1901, ..., 2099\n 'GGGG': function() {\n return getISOYear(this)\n },\n\n // AM, PM\n 'A': function() {\n return (this.getHours() / 12) >= 1 ? 'PM' : 'AM'\n },\n\n // am, pm\n 'a': function() {\n return (this.getHours() / 12) >= 1 ? 'pm' : 'am'\n },\n\n // a.m., p.m.\n 'aa': function() {\n return (this.getHours() / 12) >= 1 ? 'p.m.' : 'a.m.'\n },\n\n // Hour: 0, 1, ... 23\n 'H': function() {\n return this.getHours()\n },\n\n // Hour: 00, 01, ..., 23\n 'HH': function() {\n return addLeadingZeros(this.getHours(), 2)\n },\n\n // Hour: 1, 2, ..., 12\n 'h': function() {\n var hours = this.getHours()\n if (hours == 0) {\n return 12\n } else if (hours > 12) {\n return hours % 12\n } else {\n return hours\n }\n },\n\n // Hour: 01, 02, ..., 12\n 'hh': function() {\n return addLeadingZeros(formats['h'].apply(this), 2)\n },\n\n // Minute: 0, 1, ..., 59\n 'm': function() {\n return this.getMinutes()\n },\n\n // Minute: 00, 01, ..., 59\n 'mm': function() {\n return addLeadingZeros(this.getMinutes(), 2)\n },\n\n // Second: 0, 1, ..., 59\n 's': function() {\n return this.getSeconds()\n },\n\n // Second: 00, 01, ..., 59\n 'ss': function() {\n return addLeadingZeros(this.getSeconds(), 2)\n },\n\n // 1/10 of second: 0, 1, ..., 9\n 'S': function() {\n return Math.floor(this.getMilliseconds() / 100)\n },\n\n // 1/100 of second: 00, 01, ..., 99\n 'SS': function() {\n return Math.floor(this.getMilliseconds() / 10)\n },\n\n // Millisecond: 000, 001, ..., 999\n 'SSS': function() {\n return this.getMilliseconds()\n },\n\n // Timezone: -01:00, +00:00, ... +12:00\n 'Z': function() {\n return formatTimezone(this.getTimezoneOffset(), ':')\n },\n\n // Timezone: -0100, +0000, ... +1200\n 'ZZ': function() {\n return formatTimezone(this.getTimezoneOffset())\n },\n\n // Seconds timestamp: 512969520\n 'X': function() {\n return Math.floor(this.getTime() / 1000)\n },\n\n // Milliseconds timestamp: 512969520900\n 'x': function() {\n return this.getTime()\n }\n}\n\nvar ordinalFunctions = ['M', 'D', 'DDD', 'd', 'Q', 'W']\nordinalFunctions.forEach(function(functionName) {\n formats[functionName + 'o'] = function() {\n return locale.ordinal(formats[functionName].apply(this))\n }\n})\n\nvar formattingTokens = Object.keys(formats).sort().reverse()\nvar formattingTokensRegexp = new RegExp(\n '(\\\\[[^\\\\[]*\\\\])|(\\\\\\\\)?' + '(' + formattingTokens.join('|') + '|.)', 'g'\n)\n\nvar makeFormatFunction = function(format) {\n var array = format.match(formattingTokensRegexp), i, length\n\n for (i = 0, length = array.length; i < length; i++) {\n if (formats[array[i]]) {\n array[i] = formats[array[i]]\n } else {\n array[i] = removeFormattingTokens(array[i])\n }\n }\n\n return function(mom) {\n var output = ''\n for (i = 0; i < length; i++) {\n if (array[i] instanceof Function) {\n output += array[i].call(mom, format)\n } else {\n output += array[i]\n }\n }\n return output\n }\n}\n\nvar removeFormattingTokens = function(input) {\n if (input.match(/\\[[\\s\\S]/)) {\n return input.replace(/^\\[|\\]$/g, '')\n }\n return input.replace(/\\\\/g, '')\n}\n\nvar addLeadingZeros = function(number, targetLength) {\n var output = String(Math.abs(number))\n\n while (output.length < targetLength) {\n output = '0' + output\n }\n return output\n}\n\nvar formatTimezone = function(offset, delimeter) {\n delimeter = delimeter || ''\n var sign = offset > 0 ? '-' : '+'\n var absOffset = Math.abs(offset)\n var hours = Math.floor(absOffset / 60)\n var minutes = absOffset % 60\n return sign + addLeadingZeros(hours, 2) + delimeter + addLeadingZeros(minutes, 2)\n}\n\nvar locale = {\n ordinal: function(number) {\n if (number > 20 || number < 10) {\n switch (number % 10) {\n case 1:\n return number + 'st'\n case 2:\n return number + 'nd'\n case 3:\n return number + 'rd'\n }\n }\n return number + 'th'\n },\n months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],\n monthsShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],\n dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n dayNamesMin: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa']\n}\n\nmodule.exports = format\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/format/index.js\n **/","var parse = require('../parse')\nvar startOfYear = require('../start_of_year')\nvar differenceInCalendarDays = require('../difference_in_calendar_days')\n\n/**\n * @category Day Helpers\n * @summary Get the day of the year.\n *\n * @description\n * Get the day of the year of the given date.\n *\n * @param {Date|String|Number} date - the given date\n * @returns {Number} the day of year\n *\n * @example\n * // Which day of the year is 2 July 2014?\n * var result = getDayOfYear(new Date(2014, 6, 2))\n * //=> 183\n */\nvar getDayOfYear = function(dirtyDate) {\n var date = parse(dirtyDate)\n var diff = differenceInCalendarDays(date, startOfYear(date))\n var dayOfYear = diff + 1\n return dayOfYear\n}\n\nmodule.exports = getDayOfYear\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/get_day_of_year/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Year Helpers\n * @summary Return the start of a year for the given date.\n *\n * @description\n * Return the start of a year for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the start of a year\n *\n * @example\n * // The start of a year for 2 September 2014 11:55:00:\n * var result = startOfYear(new Date(2014, 8, 2, 11, 55, 00))\n * //=> Wed Jan 01 2014 00:00:00\n */\nvar startOfYear = function(dirtyDate) {\n var cleanDate = parse(dirtyDate)\n var date = new Date(cleanDate.getFullYear(), 0, 1, 0, 0, 0, 0)\n return date\n}\n\nmodule.exports = startOfYear\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/start_of_year/index.js\n **/","var parse = require('../parse')\nvar startOfDay = require('../start_of_day')\nvar startOfISOYear = require('../start_of_iso_year')\n\nvar MILLISECONDS_IN_WEEK = 604800000\n\n/**\n * @category ISO Week Helpers\n * @summary Get the ISO week.\n *\n * @description\n * Get the ISO week of the given date.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param {Date|String|Number} date - the given date\n * @returns {Number} the ISO week\n *\n * @example\n * // Which week of the ISO-week numbering year is 2 January 2005?\n * var result = getISOWeek(new Date(2005, 0, 2))\n * //=> 53\n */\nvar getISOWeek = function(dirtyDate) {\n var date = parse(dirtyDate)\n var diff = startOfDay(date).getTime() - startOfISOYear(date).getTime()\n return Math.floor(diff / MILLISECONDS_IN_WEEK) + 1\n}\n\nmodule.exports = getISOWeek\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/get_iso_week/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Day Helpers\n * @summary Get the day of the month.\n *\n * @description\n * Get the day of the month of the given date.\n *\n * @param {Date|String|Number} date - the given date\n * @returns {Number} the day of month\n *\n * @example\n * // Which day of the month is 29 February 2012?\n * var result = getDate(new Date(2012, 1, 29))\n * //=> 29\n */\nvar getDate = function(dirtyDate) {\n var date = parse(dirtyDate)\n var dayOfMonth = date.getDate()\n return dayOfMonth\n}\n\nmodule.exports = getDate\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/get_date/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Weekday Helpers\n * @summary Get the day of the week.\n *\n * @description\n * Get the day of the week of the given date.\n *\n * @param {Date|String|Number} date - the given date\n * @returns {Number} the day of week\n *\n * @example\n * // Which day of the week is 29 February 2012?\n * var result = getDay(new Date(2012, 1, 29))\n * //=> 3\n */\nvar getDay = function(dirtyDate) {\n var date = parse(dirtyDate)\n var day = date.getDay()\n return day\n}\n\nmodule.exports = getDay\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/get_day/index.js\n **/","var isLeapYear = require('../is_leap_year')\n\n/**\n * @category Year Helpers\n * @summary Get the number of days in a year of the given date.\n *\n * @description\n * Get the number of days in a year of the given date.\n *\n * @param {Date|String|Number} date - the given date\n * @returns {Number} the number of days in a year\n *\n * @example\n * // How many days are in 2012?\n * var result = getDaysInYear(new Date(2012, 0, 1))\n * //=> 366\n */\nvar getDaysInYear = function(dirtyDate) {\n return isLeapYear(dirtyDate) ? 366 : 365\n}\n\nmodule.exports = getDaysInYear\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/get_days_in_year/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Year Helpers\n * @summary Is the given date in the leap year?\n *\n * @description\n * Is the given date in the leap year?\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is in the leap year\n *\n * @example\n * // Is 1 September 2012 in the leap year?\n * var result = isLeapYear(new Date(2012, 8, 1))\n * //=> true\n */\nvar isLeapYear = function(dirtyDate) {\n var date = parse(dirtyDate)\n var year = date.getFullYear()\n return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0\n}\n\nmodule.exports = isLeapYear\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_leap_year/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Hour Helpers\n * @summary Get the hours.\n *\n * @description\n * Get the hours of the given date.\n *\n * @param {Date|String|Number} date - the given date\n * @returns {Number} the hours\n *\n * @example\n * // Get the hours of 29 February 2012 11:45:00:\n * var result = getHours(new Date(2012, 1, 29, 11, 45))\n * //=> 11\n */\nvar getHours = function(dirtyDate) {\n var date = parse(dirtyDate)\n var hours = date.getHours()\n return hours\n}\n\nmodule.exports = getHours\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/get_hours/index.js\n **/","var startOfISOYear = require('../start_of_iso_year')\nvar addWeeks = require('../add_weeks')\n\nvar MILLISECONDS_IN_WEEK = 604800000\n\n/**\n * @category ISO Week-Numbering Year Helpers\n * @summary Get the number of weeks in the ISO week-numbering year.\n *\n * @description\n * Get the number of ISO weeks in an ISO week-numbering year of the given date.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param {Date|String|Number} date - the given date\n * @returns {Number} the number of ISO weeks in a year\n *\n * @example\n * // How many weeks are in ISO week-numbering year 2015?\n * var result = getISOWeeksInYear(new Date(2015, 1, 11))\n * //=> 53\n */\nvar getISOWeeksInYear = function(dirtyDate) {\n var thisYear = startOfISOYear(dirtyDate)\n var nextYear = startOfISOYear(addWeeks(thisYear, 60))\n var diff = nextYear.valueOf() - thisYear.valueOf()\n // Round the number of weeks to the nearest integer\n // because the number of milliseconds in a week is not constant\n // (e.g. it's different in the week of the daylight saving time clock shift)\n return Math.round(diff / MILLISECONDS_IN_WEEK)\n}\n\nmodule.exports = getISOWeeksInYear\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/get_iso_weeks_in_year/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Millisecond Helpers\n * @summary Get the milliseconds.\n *\n * @description\n * Get the milliseconds of the given date.\n *\n * @param {Date|String|Number} date - the given date\n * @returns {Number} the milliseconds\n *\n * @example\n * // Get the milliseconds of 29 February 2012 11:45:05.123:\n * var result = getMilliseconds(new Date(2012, 1, 29, 11, 45, 5, 123))\n * //=> 123\n */\nvar getMilliseconds = function(dirtyDate) {\n var date = parse(dirtyDate)\n var milliseconds = date.getMilliseconds()\n return milliseconds\n}\n\nmodule.exports = getMilliseconds\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/get_milliseconds/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Minute Helpers\n * @summary Get the minutes.\n *\n * @description\n * Get the minutes of the given date.\n *\n * @param {Date|String|Number} date - the given date\n * @returns {Number} the minutes\n *\n * @example\n * // Get the minutes of 29 February 2012 11:45:05:\n * var result = getMinutes(new Date(2012, 1, 29, 11, 45, 5))\n * //=> 45\n */\nvar getMinutes = function(dirtyDate) {\n var date = parse(dirtyDate)\n var minutes = date.getMinutes()\n return minutes\n}\n\nmodule.exports = getMinutes\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/get_minutes/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Month Helpers\n * @summary Get the month.\n *\n * @description\n * Get the month of the given date.\n *\n * @param {Date|String|Number} date - the given date\n * @returns {Number} the month\n *\n * @example\n * // Which month is 29 February 2012?\n * var result = getMonth(new Date(2012, 1, 29))\n * //=> 1\n */\nvar getMonth = function(dirtyDate) {\n var date = parse(dirtyDate)\n var month = date.getMonth()\n return month\n}\n\nmodule.exports = getMonth\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/get_month/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Second Helpers\n * @summary Get the seconds.\n *\n * @description\n * Get the seconds of the given date.\n *\n * @param {Date|String|Number} date - the given date\n * @returns {Number} the seconds\n *\n * @example\n * // Get the seconds of 29 February 2012 11:45:05.123:\n * var result = getSeconds(new Date(2012, 1, 29, 11, 45, 5, 123))\n * //=> 5\n */\nvar getSeconds = function(dirtyDate) {\n var date = parse(dirtyDate)\n var seconds = date.getSeconds()\n return seconds\n}\n\nmodule.exports = getSeconds\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/get_seconds/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Year Helpers\n * @summary Get the year.\n *\n * @description\n * Get the year of the given date.\n *\n * @param {Date|String|Number} date - the given date\n * @returns {Number} the year\n *\n * @example\n * // Which year is 2 July 2014?\n * var result = getYear(new Date(2014, 6, 2))\n * //=> 2014\n */\nvar getYear = function(dirtyDate) {\n var date = parse(dirtyDate)\n var year = date.getFullYear()\n return year\n}\n\nmodule.exports = getYear\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/get_year/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Common Helpers\n * @summary Is the first date after the second one?\n *\n * @description\n * Is the first date after the second one?\n *\n * @param {Date|String|Number} dateToCompare - the date to compare with\n * @param {Date|String|Number} date - the date that should be after the first one to return true\n * @returns {Boolean} the first date is after the second date\n *\n * @example\n * // Is 10 July 1989 after 11 February 1987?\n * var result = isAfter(new Date(1989, 6, 10), new Date(1987, 1, 11))\n * //=> true\n */\nvar isAfter = function(dirtyDateToCompare, dirtyDate) {\n var dateToCompare = parse(dirtyDateToCompare)\n var date = parse(dirtyDate)\n return dateToCompare.getTime() > date.getTime()\n}\n\nmodule.exports = isAfter\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_after/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Common Helpers\n * @summary Are the given dates equal?\n *\n * @description\n * Are the given dates equal?\n *\n * @param {Date|String|Number} dateLeft - the first date to compare\n * @param {Date|String|Number} dateRight - the second date to compare\n * @returns {Boolean} the dates are equal\n *\n * @example\n * // Are 2 July 2014 06:30:45.000 and 2 July 2014 06:30:45.500 equal?\n * var result = isEqual(\n * new Date(2014, 6, 2, 6, 30, 45, 0)\n * new Date(2014, 6, 2, 6, 30, 45, 500)\n * )\n * //=> false\n */\nvar isEqual = function(dirtyLeftDate, dirtyRightDate) {\n var dateLeft = parse(dirtyLeftDate)\n var dateRight = parse(dirtyRightDate)\n return dateLeft.getTime() == dateRight.getTime()\n}\n\nmodule.exports = isEqual\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_equal/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Month Helpers\n * @summary Is the given date the first day of a month?\n *\n * @description\n * Is the given date the first day of a month?\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is the first day of a month\n *\n * @example\n * // Is 1 September 2014 the first day of a month?\n * var result = isFirstDayOfMonth(new Date(2014, 8, 1))\n * //=> true\n */\nvar isFirstDayOfMonth = function(dirtyDate) {\n return parse(dirtyDate).getDate() == 1\n}\n\nmodule.exports = isFirstDayOfMonth\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_first_day_of_month/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Weekday Helpers\n * @summary Is the given date Friday?\n *\n * @description\n * Is the given date Friday?\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is Friday\n *\n * @example\n * // Is 26 September 2014 Friday?\n * var result = isFriday(new Date(2014, 8, 26))\n * //=> true\n */\nvar isFriday = function(dirtyDate) {\n return parse(dirtyDate).getDay() === 5\n}\n\nmodule.exports = isFriday\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_friday/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Common Helpers\n * @summary Is the given date in the future?\n *\n * @description\n * Is the given date in the future?\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is in the future\n *\n * @example\n * // If today is 6 October 2014, is 31 December 2014 in the future?\n * var result = isFuture(new Date(2014, 11, 31))\n * //=> true\n */\nvar isFuture = function(dirtyDate) {\n return parse(dirtyDate).getTime() > new Date().getTime()\n}\n\nmodule.exports = isFuture\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_future/index.js\n **/","var parse = require('../parse')\nvar endOfDay = require('../end_of_day')\nvar endOfMonth = require('../end_of_month')\n\n/**\n * @category Month Helpers\n * @summary Is the given date the last day of a month?\n *\n * @description\n * Is the given date the last day of a month?\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is the last day of a month\n *\n * @example\n * // Is 28 February 2014 the last day of a month?\n * var result = isLastDayOfMonth(new Date(2014, 1, 28))\n * //=> true\n */\nvar isLastDayOfMonth = function(dirtyDate) {\n var date = parse(dirtyDate)\n return endOfDay(date).getTime() == endOfMonth(date).getTime()\n}\n\nmodule.exports = isLastDayOfMonth\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_last_day_of_month/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Weekday Helpers\n * @summary Is the given date Monday?\n *\n * @description\n * Is the given date Monday?\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is Monday\n *\n * @example\n * // Is 22 September 2014 Monday?\n * var result = isMonday(new Date(2014, 8, 22))\n * //=> true\n */\nvar isMonday = function(dirtyDate) {\n return parse(dirtyDate).getDay() === 1\n}\n\nmodule.exports = isMonday\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_monday/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Common Helpers\n * @summary Is the given date in the past?\n *\n * @description\n * Is the given date in the past?\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is in the past\n *\n * @example\n * // If today is 6 October 2014, is 2 July 2014 in the past?\n * var result = isPast(new Date(2014, 6, 2))\n * //=> true\n */\nvar isPast = function(dirtyDate) {\n return parse(dirtyDate).getTime() < new Date().getTime()\n}\n\nmodule.exports = isPast\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_past/index.js\n **/","var startOfDay = require('../start_of_day')\n\n/**\n * @category Day Helpers\n * @summary Are the given dates in the same day?\n *\n * @description\n * Are the given dates in the same day?\n *\n * @param {Date|String|Number} dateLeft - the first date to check\n * @param {Date|String|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same day\n *\n * @example\n * // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day?\n * var result = isSameDay(\n * new Date(2014, 8, 4, 6, 0),\n * new Date(2014, 8, 4, 18, 0)\n * )\n * //=> true\n */\nvar isSameDay = function(dirtyDateLeft, dirtyDateRight) {\n var dateLeftStartOfDay = startOfDay(dirtyDateLeft)\n var dateRightStartOfDay = startOfDay(dirtyDateRight)\n\n return(\n dateLeftStartOfDay.getTime() == dateRightStartOfDay.getTime()\n )\n}\n\nmodule.exports = isSameDay\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_same_day/index.js\n **/","var startOfHour = require('../start_of_hour')\n\n/**\n * @category Hour Helpers\n * @summary Are the given dates in the same hour?\n *\n * @description\n * Are the given dates in the same hour?\n *\n * @param {Date|String|Number} dateLeft - the first date to check\n * @param {Date|String|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same hour\n *\n * @example\n * // Are 4 September 2014 06:00:00 and 4 September 06:30:00 in the same hour?\n * var result = isSameHour(\n * new Date(2014, 8, 4, 6, 0),\n * new Date(2014, 8, 4, 6, 30)\n * )\n * //=> true\n */\nvar isSameHour = function(dirtyDateLeft, dirtyDateRight) {\n var dateLeftStartOfHour = startOfHour(dirtyDateLeft)\n var dateRightStartOfHour = startOfHour(dirtyDateRight)\n\n return(\n dateLeftStartOfHour.getTime() == dateRightStartOfHour.getTime()\n )\n}\n\nmodule.exports = isSameHour\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_same_hour/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Hour Helpers\n * @summary Return the start of an hour for the given date.\n *\n * @description\n * Return the start of an hour for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the start of an hour\n *\n * @example\n * // The start of an hour for 2 September 2014 11:55:00:\n * var result = startOfHour(new Date(2014, 8, 2, 11, 55))\n * //=> Tue Sep 02 2014 11:00:00\n */\nvar startOfHour = function(dirtyDate) {\n var date = parse(dirtyDate)\n date.setMinutes(0, 0, 0)\n return date\n}\n\nmodule.exports = startOfHour\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/start_of_hour/index.js\n **/","var isSameWeek = require('../is_same_week')\n\n/**\n * @category ISO Week Helpers\n * @summary Are the given dates in the same ISO week?\n *\n * @description\n * Are the given dates in the same ISO week?\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param {Date|String|Number} dateLeft - the first date to check\n * @param {Date|String|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same ISO week\n *\n * @example\n * // Are 1 September 2014 and 7 September 2014 in the same ISO week?\n * var result = isSameISOWeek(\n * new Date(2014, 8, 1),\n * new Date(2014, 8, 7)\n * )\n * //=> true\n */\nvar isSameISOWeek = function(dirtyDateLeft, dirtyDateRight) {\n return isSameWeek(dirtyDateLeft, dirtyDateRight, {weekStartsAt: 1})\n}\n\nmodule.exports = isSameISOWeek\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_same_iso_week/index.js\n **/","var startOfWeek = require('../start_of_week')\n\n/**\n * @category Week Helpers\n * @summary Are the given dates in the same week?\n *\n * @description\n * Are the given dates in the same week?\n *\n * @param {Date|String|Number} dateLeft - the first date to check\n * @param {Date|String|Number} dateRight - the second date to check\n * @param {Object} [options] - the object with options\n * @param {Number} [options.weekStartsAt=0] - the index of the first day of a week (0 - sunday)\n * @returns {Boolean} the dates are in the same week\n *\n * @example\n * // Are 31 August 2014 and 4 September 2014 in the same week?\n * var result = isSameWeek(\n * new Date(2014, 7, 31),\n * new Date(2014, 8, 4)\n * )\n * //=> true\n *\n * @example\n * // If week starts with Monday,\n * // are 31 August 2014 and 4 September 2014 in the same week?\n * var result = isSameWeek(\n * new Date(2014, 7, 31),\n * new Date(2014, 8, 4),\n * {weekStartsAt: 1}\n * )\n * //=> false\n */\nvar isSameWeek = function(dirtyDateLeft, dirtyDateRight, options) {\n var dateLeftStartOfWeek = startOfWeek(dirtyDateLeft, options)\n var dateRightStartOfWeek = startOfWeek(dirtyDateRight, options)\n\n return(\n dateLeftStartOfWeek.getTime() == dateRightStartOfWeek.getTime()\n )\n}\n\nmodule.exports = isSameWeek\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_same_week/index.js\n **/","var startOfISOYear = require('../start_of_iso_year')\n\n/**\n * @category ISO Week-Numbering Year Helpers\n * @summary Are the given dates in the same ISO week-numbering year?\n *\n * @description\n * Are the given dates in the same ISO week-numbering year?\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param {Date|String|Number} dateLeft - the first date to check\n * @param {Date|String|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same ISO year\n *\n * @example\n * // Are 29 December 2003 and 2 January 2005 in the same ISO week-numbering year?\n * var result = isSameISOYear(\n * new Date(2003, 11, 29),\n * new Date(2005, 0, 2)\n * )\n * //=> true\n */\nvar isSameISOYear = function(dirtyDateLeft, dirtyDateRight) {\n var dateLeftStartOfYear = startOfISOYear(dirtyDateLeft)\n var dateRightStartOfYear = startOfISOYear(dirtyDateRight)\n\n return(\n dateLeftStartOfYear.getTime() == dateRightStartOfYear.getTime()\n )\n}\n\nmodule.exports = isSameISOYear\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_same_iso_year/index.js\n **/","var startOfMinute = require('../start_of_minute')\n\n/**\n * @category Minute Helpers\n * @summary Are the given dates in the same minute?\n *\n * @description\n * Are the given dates in the same minute?\n *\n * @param {Date|String|Number} dateLeft - the first date to check\n * @param {Date|String|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same minute\n *\n * @example\n * // Are 4 September 2014 06:30:00 and 4 September 2014 06:30:15\n * // in the same minute?\n * var result = isSameMinute(\n * new Date(2014, 8, 4, 6, 30),\n * new Date(2014, 8, 4, 6, 30, 15)\n * )\n * //=> true\n */\nvar isSameMinute = function(dirtyDateLeft, dirtyDateRight) {\n var dateLeftStartOfMinute = startOfMinute(dirtyDateLeft)\n var dateRightStartOfMinute = startOfMinute(dirtyDateRight)\n\n return(\n dateLeftStartOfMinute.getTime() == dateRightStartOfMinute.getTime()\n )\n}\n\nmodule.exports = isSameMinute\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_same_minute/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Minute Helpers\n * @summary Return the start of a minute for the given date.\n *\n * @description\n * Return the start of a minute for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the start of a minute\n *\n * @example\n * // The start of a minute for 1 December 2014 22:15:45.400:\n * var result = startOfMinute(new Date(2014, 11, 1, 22, 15, 45, 400))\n * //=> Mon Dec 01 2014 22:15:00\n */\nvar startOfMinute = function(dirtyDate) {\n var date = parse(dirtyDate)\n date.setSeconds(0, 0)\n return date\n}\n\nmodule.exports = startOfMinute\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/start_of_minute/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Month Helpers\n * @summary Are the given dates in the same month?\n *\n * @description\n * Are the given dates in the same month?\n *\n * @param {Date|String|Number} dateLeft - the first date to check\n * @param {Date|String|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same month\n *\n * @example\n * // Are 2 September 2014 and 25 September 2014 in the same month?\n * var result = isSameMonth(\n * new Date(2014, 8, 2),\n * new Date(2014, 8, 25)\n * )\n * //=> true\n */\nvar isSameMonth = function(dirtyDateLeft, dirtyDateRight) {\n var dateLeft = parse(dirtyDateLeft)\n var dateRight = parse(dirtyDateRight)\n return(\n dateLeft.getFullYear() == dateRight.getFullYear()\n && dateLeft.getMonth() == dateRight.getMonth()\n )\n}\n\nmodule.exports = isSameMonth\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_same_month/index.js\n **/","var startOfQuarter = require('../start_of_quarter')\n\n/**\n * @category Quarter Helpers\n * @summary Are the given dates in the same year quarter?\n *\n * @description\n * Are the given dates in the same year quarter?\n *\n * @param {Date|String|Number} dateLeft - the first date to check\n * @param {Date|String|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same quarter\n *\n * @example\n * // Are 1 January 2014 and 8 March 2014 in the same quarter?\n * var result = isSameQuarter(\n * new Date(2014, 0, 1),\n * new Date(2014, 2, 8)\n * )\n * //=> true\n */\nvar isSameQuarter = function(dirtyDateLeft, dirtyDateRight) {\n var dateLeftStartOfQuarter = startOfQuarter(dirtyDateLeft)\n var dateRightStartOfQuarter = startOfQuarter(dirtyDateRight)\n\n return(\n dateLeftStartOfQuarter.getTime() == dateRightStartOfQuarter.getTime()\n )\n}\n\nmodule.exports = isSameQuarter\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_same_quarter/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Quarter Helpers\n * @summary Return the start of a year quarter for the given date.\n *\n * @description\n * Return the start of a year quarter for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the start of a quarter\n *\n * @example\n * // The start of a quarter for 2 September 2014 11:55:00:\n * var result = startOfQuarter(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Jul 01 2014 00:00:00\n */\nvar startOfQuarter = function(dirtyDate) {\n var date = parse(dirtyDate)\n var currentMonth = date.getMonth()\n var month = currentMonth - currentMonth % 3\n date.setMonth(month, 1)\n date.setHours(0, 0, 0, 0)\n return date\n}\n\nmodule.exports = startOfQuarter\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/start_of_quarter/index.js\n **/","var startOfSecond = require('../start_of_second')\n\n/**\n * @category Second Helpers\n * @summary Are the given dates in the same second?\n *\n * @description\n * Are the given dates in the same second?\n *\n * @param {Date|String|Number} dateLeft - the first date to check\n * @param {Date|String|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same second\n *\n * @example\n * // Are 4 September 2014 06:30:15.000 and 4 September 2014 06:30.15.500\n * // in the same second?\n * var result = isSameSecond(\n * new Date(2014, 8, 4, 6, 30, 15),\n * new Date(2014, 8, 4, 6, 30, 15, 500)\n * )\n * //=> true\n */\nvar isSameSecond = function(dirtyDateLeft, dirtyDateRight) {\n var dateLeftStartOfSecond = startOfSecond(dirtyDateLeft)\n var dateRightStartOfSecond = startOfSecond(dirtyDateRight)\n\n return(\n dateLeftStartOfSecond.getTime() == dateRightStartOfSecond.getTime()\n )\n}\n\nmodule.exports = isSameSecond\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_same_second/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Second Helpers\n * @summary Return the start of a second for the given date.\n *\n * @description\n * Return the start of a second for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the start of a second\n *\n * @example\n * // The start of a second for 1 December 2014 22:15:45.400:\n * var result = startOfSecond(new Date(2014, 11, 1, 22, 15, 45, 400))\n * //=> Mon Dec 01 2014 22:15:45.000\n */\nvar startOfSecond = function(dirtyDate) {\n var date = parse(dirtyDate)\n date.setMilliseconds(0)\n return date\n}\n\nmodule.exports = startOfSecond\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/start_of_second/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Year Helpers\n * @summary Are the given dates in the same year?\n *\n * @description\n * Are the given dates in the same year?\n *\n * @param {Date|String|Number} dateLeft - the first date to check\n * @param {Date|String|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same year\n *\n * @example\n * // Are 2 September 2014 and 25 September 2014 in the same year?\n * var result = isSameYear(\n * new Date(2014, 8, 2),\n * new Date(2014, 8, 25)\n * )\n * //=> true\n */\nvar isSameYear = function(dirtyDateLeft, dirtyDateRight) {\n var dateLeft = parse(dirtyDateLeft)\n var dateRight = parse(dirtyDateRight)\n return dateLeft.getFullYear() == dateRight.getFullYear()\n}\n\nmodule.exports = isSameYear\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_same_year/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Weekday Helpers\n * @summary Is the given date Saturday?\n *\n * @description\n * Is the given date Saturday?\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is Saturday\n *\n * @example\n * // Is 27 September 2014 Saturday?\n * var result = isSaturday(new Date(2014, 8, 27))\n * //=> true\n */\nvar isSaturday = function(dirtyDate) {\n return parse(dirtyDate).getDay() === 6\n}\n\nmodule.exports = isSaturday\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_saturday/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Weekday Helpers\n * @summary Is the given date Sunday?\n *\n * @description\n * Is the given date Sunday?\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is Sunday\n *\n * @example\n * // Is 21 September 2014 Sunday?\n * var result = isSunday(new Date(2014, 8, 21))\n * //=> true\n */\nvar isSunday = function(dirtyDate) {\n return parse(dirtyDate).getDay() === 0\n}\n\nmodule.exports = isSunday\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_sunday/index.js\n **/","var isSameHour = require('../is_same_hour')\n\n/**\n * @category Hour Helpers\n * @summary Is the given date in the same hour as the current date?\n *\n * @description\n * Is the given date in the same hour as the current date?\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is in this hour\n *\n * @example\n * // If now is 25 September 2014 18:30:15.500,\n * // is 25 September 2014 18:00:00 in this hour?\n * var result = isThisHour(new Date(2014, 8, 25, 18))\n * //=> true\n */\nvar isThisHour = function(dirtyDate) {\n return isSameHour(new Date(), dirtyDate)\n}\n\nmodule.exports = isThisHour\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_this_hour/index.js\n **/","var isSameISOWeek = require('../is_same_iso_week')\n\n/**\n * @category ISO Week Helpers\n * @summary Is the given date in the same ISO week as the current date?\n *\n * @description\n * Is the given date in the same ISO week as the current date?\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is in this ISO week\n *\n * @example\n * // If today is 25 September 2014, is 22 September 2014 in this ISO week?\n * var result = isThisISOWeek(new Date(2014, 8, 22))\n * //=> true\n */\nvar isThisISOWeek = function(dirtyDate) {\n return isSameISOWeek(new Date(), dirtyDate)\n}\n\nmodule.exports = isThisISOWeek\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_this_iso_week/index.js\n **/","var isSameISOYear = require('../is_same_iso_year')\n\n/**\n * @category ISO Week-Numbering Year Helpers\n * @summary Is the given date in the same ISO week-numbering year as the current date?\n *\n * @description\n * Is the given date in the same ISO week-numbering year as the current date?\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is in this ISO week-numbering year\n *\n * @example\n * // If today is 25 September 2014,\n * // is 30 December 2013 in this ISO week-numbering year?\n * var result = isThisISOYear(new Date(2013, 11, 30))\n * //=> true\n */\nvar isThisISOYear = function(dirtyDate) {\n return isSameISOYear(new Date(), dirtyDate)\n}\n\nmodule.exports = isThisISOYear\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_this_iso_year/index.js\n **/","var isSameMinute = require('../is_same_minute')\n\n/**\n * @category Minute Helpers\n * @summary Is the given date in the same minute as the current date?\n *\n * @description\n * Is the given date in the same minute as the current date?\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is in this minute\n *\n * @example\n * // If now is 25 September 2014 18:30:15.500,\n * // is 25 September 2014 18:30:00 in this minute?\n * var result = isThisMinute(new Date(2014, 8, 25, 18, 30))\n * //=> true\n */\nvar isThisMinute = function(dirtyDate) {\n return isSameMinute(new Date(), dirtyDate)\n}\n\nmodule.exports = isThisMinute\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_this_minute/index.js\n **/","var isSameMonth = require('../is_same_month')\n\n/**\n * @category Month Helpers\n * @summary Is the given date in the same month as the current date?\n *\n * @description\n * Is the given date in the same month as the current date?\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is in this month\n *\n * @example\n * // If today is 25 September 2014, is 15 September 2014 in this month?\n * var result = isThisMonth(new Date(2014, 8, 15))\n * //=> true\n */\nvar isThisMonth = function(dirtyDate) {\n return isSameMonth(new Date(), dirtyDate)\n}\n\nmodule.exports = isThisMonth\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_this_month/index.js\n **/","var isSameQuarter = require('../is_same_quarter')\n\n/**\n * @category Quarter Helpers\n * @summary Is the given date in the same quarter as the current date?\n *\n * @description\n * Is the given date in the same quarter as the current date?\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is in this quarter\n *\n * @example\n * // If today is 25 September 2014, is 2 July 2014 in this quarter?\n * var result = isThisQuarter(new Date(2014, 6, 2))\n * //=> true\n */\nvar isThisQuarter = function(dirtyDate) {\n return isSameQuarter(new Date(), dirtyDate)\n}\n\nmodule.exports = isThisQuarter\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_this_quarter/index.js\n **/","var isSameSecond = require('../is_same_second')\n\n/**\n * @category Second Helpers\n * @summary Is the given date in the same second as the current date?\n *\n * @description\n * Is the given date in the same second as the current date?\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is in this second\n *\n * @example\n * // If now is 25 September 2014 18:30:15.500,\n * // is 25 September 2014 18:30:15.000 in this second?\n * var result = isThisSecond(new Date(2014, 8, 25, 18, 30, 15))\n * //=> true\n */\nvar isThisSecond = function(dirtyDate) {\n return isSameSecond(new Date(), dirtyDate)\n}\n\nmodule.exports = isThisSecond\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_this_second/index.js\n **/","var isSameWeek = require('../is_same_week')\n\n/**\n * @category Week Helpers\n * @summary Is the given date in the same week as the current date?\n *\n * @description\n * Is the given date in the same week as the current date?\n *\n * @param {Date|String|Number} date - the date to check\n * @param {Object} [options] - the object with options\n * @param {Number} [options.weekStartsAt=0] - the index of the first day of a week (0 - sunday)\n * @returns {Boolean} the date is in this week\n *\n * @example\n * // If today is 25 September 2014, is 21 September 2014 in this week?\n * var result = isThisWeek(new Date(2014, 8, 21))\n * //=> true\n *\n * @example\n * // If today is 25 September 2014 and week starts with Monday\n * // is 21 September 2014 in this week?\n * var result = isThisWeek(new Date(2014, 8, 21), {weekStartsAt: 1})\n * //=> false\n */\nvar isThisWeek = function(dirtyDate, options) {\n return isSameWeek(new Date(), dirtyDate, options)\n}\n\nmodule.exports = isThisWeek\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_this_week/index.js\n **/","var isSameYear = require('../is_same_year')\n\n/**\n * @category Year Helpers\n * @summary Is the given date in the same year as the current date?\n *\n * @description\n * Is the given date in the same year as the current date?\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is in this year\n *\n * @example\n * // If today is 25 September 2014, is 2 July 2014 in this year?\n * var result = isThisYear(new Date(2014, 6, 2))\n * //=> true\n */\nvar isThisYear = function(dirtyDate) {\n return isSameYear(new Date(), dirtyDate)\n}\n\nmodule.exports = isThisYear\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_this_year/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Weekday Helpers\n * @summary Is the given date Thursday?\n *\n * @description\n * Is the given date Thursday?\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is Thursday\n *\n * @example\n * // Is 25 September 2014 Thursday?\n * var result = isThursday(new Date(2014, 8, 25))\n * //=> true\n */\nvar isThursday = function(dirtyDate) {\n return parse(dirtyDate).getDay() === 4\n}\n\nmodule.exports = isThursday\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_thursday/index.js\n **/","var startOfDay = require('../start_of_day')\n\n/**\n * @category Day Helpers\n * @summary Is the given date today?\n *\n * @description\n * Is the given date today?\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is today\n *\n * @example\n * // If today is 6 October 2014, is 6 October 14:00:00 today?\n * var result = isToday(new Date(2014, 9, 6, 14, 0))\n * //=> true\n */\nvar isToday = function(dirtyDate) {\n return startOfDay(dirtyDate).getTime() == startOfDay(new Date()).getTime()\n}\n\nmodule.exports = isToday\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_today/index.js\n **/","var startOfDay = require('../start_of_day')\n\n/**\n * @category Day Helpers\n * @summary Is the given date tomorrow?\n *\n * @description\n * Is the given date tomorrow?\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is tomorrow\n *\n * @example\n * // If today is 6 October 2014, is 7 October 14:00:00 tomorrow?\n * var result = isTomorrow(new Date(2014, 9, 7, 14, 0))\n * //=> true\n */\nvar isTomorrow = function(dirtyDate) {\n var tomorrow = new Date()\n tomorrow.setDate(tomorrow.getDate() + 1)\n return startOfDay(dirtyDate).getTime() == startOfDay(tomorrow).getTime()\n}\n\nmodule.exports = isTomorrow\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_tomorrow/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Weekday Helpers\n * @summary Is the given date Tuesday?\n *\n * @description\n * Is the given date Tuesday?\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is Tuesday\n *\n * @example\n * // Is 23 September 2014 Tuesday?\n * var result = isTuesday(new Date(2014, 8, 23))\n * //=> true\n */\nvar isTuesday = function(dirtyDate) {\n return parse(dirtyDate).getDay() === 2\n}\n\nmodule.exports = isTuesday\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_tuesday/index.js\n **/","/**\n * @category Common Helpers\n * @summary Is the given date valid?\n *\n * @description\n * Returns false if argument is Invalid Date and true otherwise.\n * Invalid Date is a Date, whose time value is NaN.\n *\n * Time value of Date: http://es5.github.io/#x15.9.1.1\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is valid\n * @throws {TypeError} argument must be an instance of Date\n *\n * @example\n * // For the valid date:\n * var result = isValid(new Date(2014, 1, 31))\n * //=> true\n *\n * @example\n * // For the invalid date:\n * var result = isValid(new Date(''))\n * //=> false\n */\nvar isValid = function(date) {\n if (date instanceof Date) {\n return !isNaN((new Date(date)).getTime())\n } else {\n throw new TypeError(toString.call(date) + ' is not a date')\n }\n}\n\nmodule.exports = isValid\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_valid/index.js\n **/","var isValid = require('../is_valid')\n\n/**\n * @category Common Helpers\n * @summary Is the date constructed from the given values exist?\n *\n * @description\n * Validates that the given values are within acceptable ranges,\n * e. g. the hour value should be within range [0..23], the second value within [0..59] etc.\n *\n * @param {Number} year - the year of the date\n * @param {Number} month - the month of the date\n * @param {Number} [day=1] - the day of the month of the date\n * @param {Number} [hours=0] - the hours of the date\n * @param {Number} [minutes=0] - the minutes of the date\n * @param {Number} [seconds=0] - the seconds of the date\n * @param {Number} [milliseconds=0] - the milliseconds of the date\n * @returns {Boolean} all values are valid\n *\n * @example\n * // For the existing date:\n * var result = isValidDateValues(new Date(2014, 1, 28, 12, 0))\n * //=> true\n *\n * @example\n * // For the impossible date (29 February of non-leap year):\n * var result = isValidDateValues(new Date(2014, 1, 29, 12, 0))\n * //=> false\n */\nvar isValidDateValues = function(year, month, day, hours, minutes, seconds, milliseconds) {\n if (year >= 0 && year < 100) {\n year = 1900 + year\n }\n\n day = day || 1\n hours = hours || 0\n minutes = minutes || 0\n seconds = seconds || 0\n milliseconds = milliseconds || 0\n\n var date = new Date(year, month, day, hours, minutes, seconds, milliseconds)\n\n return isValid(date)\n && date.getFullYear() == year\n && date.getMonth() == month\n && date.getDate() == day\n && date.getHours() == hours\n && date.getMinutes() == minutes\n && date.getSeconds() == seconds\n && date.getMilliseconds() == milliseconds\n}\n\nmodule.exports = isValidDateValues\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_valid_date_values/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Weekday Helpers\n * @summary Is the given date Wednesday?\n *\n * @description\n * Is the given date Wednesday?\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is Wednesday\n *\n * @example\n * // Is 24 September 2014 Wednesday?\n * var result = isWednesday(new Date(2014, 8, 24))\n * //=> true\n */\nvar isWednesday = function(dirtyDate) {\n return parse(dirtyDate).getDay() === 3\n}\n\nmodule.exports = isWednesday\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_wednesday/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Weekday Helpers\n * @summary Is the given date in a weekend?\n *\n * @description\n * Is the given date in a weekend?\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is in the weekend\n *\n * @example\n * // Is 5 October 2014 in a weekend?\n * var result = isWeekend(new Date(2014, 9, 5))\n * //=> true\n */\nvar isWeekend = function(dirtyDate) {\n var date = parse(dirtyDate)\n var day = date.getDay()\n return day == 0 || day == 6\n}\n\nmodule.exports = isWeekend\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_weekend/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Range Helpers\n * @summary Is the given date within the range?\n *\n * @description\n * Is the given date within the range?\n *\n * @param {Date|String|Number} date - the date to check\n * @param {Date|String|Number} startDate - the start of range\n * @param {Date|String|Number} endDate - the end of range\n * @returns {Boolean} the date is within the range\n * @throws {Error} endDate must have a time value greater than a time value of startDate\n *\n * @example\n * // For the date within the range:\n * isWithinRange(\n * new Date(2014, 0, 3), new Date(2014, 0, 1), new Date(2014, 0, 7)\n * )\n * //=> true\n *\n * @example\n * // For the date outside of the range:\n * isWithinRange(\n * new Date(2014, 0, 10), new Date(2014, 0, 1), new Date(2014, 0, 7)\n * )\n * //=> false\n */\nvar isWithinRange = function(dirtyDate, dirtyStartDate, dirtyEndDate) {\n var time = parse(dirtyDate).getTime()\n var startTime = parse(dirtyStartDate).getTime()\n var endTime = parse(dirtyEndDate).getTime()\n\n if (startTime > endTime) {\n throw new Error('The end of range must have a time value greater than a time value of the start of range')\n }\n\n return time >= startTime && time <= endTime\n}\n\nmodule.exports = isWithinRange\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_within_range/index.js\n **/","var startOfDay = require('../start_of_day')\n\n/**\n * @category Day Helpers\n * @summary Is the given date yesterday?\n *\n * @description\n * Is the given date yesterday?\n *\n * @param {Date|String|Number} date - the date to check\n * @returns {Boolean} the date is yesterday\n *\n * @example\n * // If today is 6 October 2014, is 5 October 14:00:00 yesterday?\n * var result = isYesterday(new Date(2014, 9, 5, 14, 0))\n * //=> true\n */\nvar isYesterday = function(dirtyDate) {\n var yesterday = new Date()\n yesterday.setDate(yesterday.getDate() - 1)\n return startOfDay(dirtyDate).getTime() == startOfDay(yesterday).getTime()\n}\n\nmodule.exports = isYesterday\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/is_yesterday/index.js\n **/","var lastDayOfWeek = require('../last_day_of_week')\n\n/**\n * @category ISO Week Helpers\n * @summary Return the last day of an ISO week for the given date.\n *\n * @description\n * Return the last day of an ISO week for the given date.\n * The result will be in the local timezone.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the last day of an ISO week\n *\n * @example\n * // The last day of an ISO week for 2 September 2014 11:55:00:\n * var result = lastDayOfISOWeek(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Sun Sep 07 2014 00:00:00\n */\nvar lastDayOfISOWeek = function(dirtyDate) {\n return lastDayOfWeek(dirtyDate, {weekStartsAt: 1})\n}\n\nmodule.exports = lastDayOfISOWeek\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/last_day_of_iso_week/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Week Helpers\n * @summary Return the last day of a week for the given date.\n *\n * @description\n * Return the last day of a week for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|String|Number} date - the original date\n * @param {Object} [options] - the object with options\n * @param {Number} [options.weekStartsAt=0] - the index of the first day of a week (0 - sunday)\n * @returns {Date} the last day of a week\n *\n * @example\n * // The last day of a week for 2 September 2014 11:55:00:\n * var result = lastDayOfWeek(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Sat Sep 06 2014 00:00:00\n *\n * @example\n * // If week starts at Monday, the last day of a week for 2 September 2014 11:55:00:\n * var result = lastDayOfWeek(new Date(2014, 8, 2, 11, 55, 0), {weekStartsAt: 1})\n * //=> Sun Sep 07 2014 00:00:00\n */\nvar lastDayOfWeek = function(dirtyDate, options) {\n var weekStartsAt = options ? (options.weekStartsAt || 0) : 0\n\n var date = parse(dirtyDate)\n var day = date.getDay()\n var diff = (day < weekStartsAt ? -7 : 0) + 6 - (day - weekStartsAt)\n\n date.setHours(0, 0, 0, 0)\n date.setDate(date.getDate() + diff)\n return date\n}\n\nmodule.exports = lastDayOfWeek\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/last_day_of_week/index.js\n **/","var getISOYear = require('../get_iso_year')\nvar startOfISOWeek = require('../start_of_iso_week')\n\n/**\n * @category ISO Week-Numbering Year Helpers\n * @summary Return the last day of an ISO week-numbering year for the given date.\n *\n * @description\n * Return the last day of an ISO week-numbering year,\n * which always starts 3 days before the year's first Thursday.\n * The result will be in the local timezone.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the end of an ISO year\n *\n * @example\n * // The last day of an ISO week-numbering year for 2 July 2005:\n * var result = lastDayOfISOYear(new Date(2005, 6, 2))\n * //=> Sun Jan 01 2006 00:00:00\n */\nvar lastDayOfISOYear = function(dirtyDate) {\n var year = getISOYear(dirtyDate)\n var date = startOfISOWeek(new Date(year + 1, 0, 4))\n date.setDate(date.getDate() - 1)\n return date\n}\n\nmodule.exports = lastDayOfISOYear\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/last_day_of_iso_year/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Month Helpers\n * @summary Return the last day of a month for the given date.\n *\n * @description\n * Return the last day of a month for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the last day of a month\n *\n * @example\n * // The last day of a month for 2 September 2014 11:55:00:\n * var result = lastDayOfMonth(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 30 2014 00:00:00\n */\nvar lastDayOfMonth = function(dirtyDate) {\n var date = parse(dirtyDate)\n var month = date.getMonth()\n date.setFullYear(date.getFullYear(), month + 1, 0)\n date.setHours(0, 0, 0, 0)\n return date\n}\n\nmodule.exports = lastDayOfMonth\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/last_day_of_month/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Quarter Helpers\n * @summary Return the last day of a year quarter for the given date.\n *\n * @description\n * Return the last day of a quarter for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the last day of a quarter\n *\n * @example\n * // The last day of a quarter for 2 September 2014 11:55:00:\n * var result = lastDayOfQuarter(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 30 2014 00:00:00\n */\nvar lastDayOfQuarter = function(dirtyDate) {\n var date = parse(dirtyDate)\n var currentMonth = date.getMonth()\n var month = currentMonth - currentMonth % 3 + 3\n date.setMonth(month, 0)\n date.setHours(0, 0, 0, 0)\n return date\n}\n\nmodule.exports = lastDayOfQuarter\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/last_day_of_quarter/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Year Helpers\n * @summary Return the last day of a year for the given date.\n *\n * @description\n * Return the last day of a year for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the last day of a year\n *\n * @example\n * // The last day of a year for 2 September 2014 11:55:00:\n * var result = lastDayOfYear(new Date(2014, 8, 2, 11, 55, 00))\n * //=> Wed Dec 31 2014 00:00:00\n */\nvar lastDayOfYear = function(dirtyDate) {\n var date = parse(dirtyDate)\n var year = date.getFullYear()\n date.setFullYear(year + 1, 0, 0)\n date.setHours(0, 0, 0, 0)\n return date\n}\n\nmodule.exports = lastDayOfYear\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/last_day_of_year/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Common Helpers\n * @summary Return the latest of the given dates.\n *\n * @description\n * Return the latest of the given dates.\n *\n * @param {...(Date|String|Number)} dates - the dates to compare\n * @returns {Date} the latest of the dates\n *\n * @example\n * // Which of these dates is the latest?\n * var result = max(\n * new Date(1989, 6, 10),\n * new Date(1987, 1, 11),\n * new Date(1995, 6, 2),\n * new Date(1990, 0, 1)\n * )\n * //=> Sun Jul 02 1995 00:00:00\n */\nvar max = function() {\n var dirtyDates = Array.prototype.slice.call(arguments)\n var dates = dirtyDates.map(function(dirtyDate) {\n return parse(dirtyDate)\n })\n var latestDirtyDate = Math.max.apply(null, dates)\n return new Date(latestDirtyDate)\n}\n\nmodule.exports = max\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/max/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Common Helpers\n * @summary Return the earliest of the given dates.\n *\n * @description\n * Return the earliest of the given dates.\n *\n * @param {...(Date|String|Number)} dates - the dates to compare\n * @returns {Date} the earliest of the dates\n *\n * @example\n * // Which of these dates is the earliest?\n * var result = min(\n * new Date(1989, 6, 10),\n * new Date(1987, 1, 11),\n * new Date(1995, 6, 2),\n * new Date(1990, 0, 1)\n * )\n * //=> Wed Feb 11 1987 00:00:00\n */\nvar min = function() {\n var dirtyDates = Array.prototype.slice.call(arguments)\n var dates = dirtyDates.map(function(dirtyDate) {\n return parse(dirtyDate)\n })\n var earliestDirtyDate = Math.min.apply(null, dates)\n return new Date(earliestDirtyDate)\n}\n\nmodule.exports = min\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/min/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Day Helpers\n * @summary Set the day of the month.\n *\n * @description\n * Set the day of the month to the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} dayOfMonth - the day of the month of the new date\n * @returns {Date} the new date with the day of the month setted\n *\n * @example\n * // Set the 30th day of the month to 1 September 2014:\n * var result = setDate(new Date(2014, 8, 1), 30)\n * //=> Tue Sep 30 2014 00:00:00\n */\nvar setDate = function(dirtyDate, dayOfMonth) {\n var date = parse(dirtyDate)\n date.setDate(dayOfMonth)\n return date\n}\n\nmodule.exports = setDate\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/set_date/index.js\n **/","var parse = require('../parse')\nvar addDays = require('../add_days')\n\n/**\n * @category Weekday Helpers\n * @summary Set the day of the week.\n *\n * @description\n * Set the day of the week to the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} day - the day of the week of the new date\n * @param {Object} [options] - the object with options\n * @param {Number} [options.weekStartsAt=0] - the index of the first day of a week (0 - sunday)\n * @returns {Date} the new date with the day of the week setted\n *\n * @example\n * // Set Sunday to 1 September 2014:\n * var result = setDay(new Date(2014, 8, 1), 0)\n * //=> Sun Aug 31 2014 00:00:00\n *\n * @example\n * // If week starts with Monday, set Sunday to 1 September 2014:\n * var result = setDay(new Date(2014, 8, 1), 0, {weekStartsAt: 1})\n * //=> Sun Sep 07 2014 00:00:00\n */\nvar setDay = function(dirtyDate, day, options) {\n var weekStartsAt = options ? (options.weekStartsAt || 0) : 0\n var date = parse(dirtyDate)\n var currentDay = date.getDay()\n var diff = (day < weekStartsAt ? 7 : 0) + day - currentDay\n return addDays(date, diff)\n}\n\nmodule.exports = setDay\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/set_day/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Day Helpers\n * @summary Set the day of the year.\n *\n * @description\n * Set the day of the year to the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} dayOfYear - the day of the year of the new date\n * @returns {Date} the new date with the day of the year setted\n *\n * @example\n * // Set the 2nd day of the year to 2 July 2014:\n * var result = setDayOfYear(new Date(2014, 6, 2), 2)\n * //=> Thu Jan 02 2014 00:00:00\n */\nvar setDayOfYear = function(dirtyDate, dayOfYear) {\n var date = parse(dirtyDate)\n date.setMonth(0)\n date.setDate(dayOfYear)\n return date\n}\n\nmodule.exports = setDayOfYear\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/set_day_of_year/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Hour Helpers\n * @summary Set the hours.\n *\n * @description\n * Set the hours to the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} hours - the hours of the new date\n * @returns {Date} the new date with the hours setted\n *\n * @example\n * // Set 4 hours to 1 September 2014 11:30:00:\n * var result = setHours(new Date(2014, 8, 1, 11, 30), 4)\n * //=> Mon Sep 01 2014 04:30:00\n */\nvar setHours = function(dirtyDate, hours) {\n var date = parse(dirtyDate)\n date.setHours(hours)\n return date\n}\n\nmodule.exports = setHours\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/set_hours/index.js\n **/","var parse = require('../parse')\nvar getISOWeek = require('../get_iso_week')\n\n/**\n * @category ISO Week Helpers\n * @summary Set the ISO week.\n *\n * @description\n * Set the ISO week to the given date, saving the weekday number.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} isoWeek - the ISO week of the new date\n * @returns {Date} the new date with the ISO week setted\n *\n * @example\n * // Set the 53rd ISO week to 7 August 2004:\n * var result = setISOWeek(new Date(2004, 7, 7), 53)\n * //=> Sat Jan 01 2005 00:00:00\n */\nvar setISOWeek = function(dirtyDate, isoWeek) {\n var date = parse(dirtyDate)\n var diff = getISOWeek(date) - isoWeek\n date.setDate(date.getDate() - diff * 7)\n return date\n}\n\nmodule.exports = setISOWeek\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/set_iso_week/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Millisecond Helpers\n * @summary Set the milliseconds.\n *\n * @description\n * Set the milliseconds to the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} milliseconds - the milliseconds of the new date\n * @returns {Date} the new date with the milliseconds setted\n *\n * @example\n * // Set 300 milliseconds to 1 September 2014 11:30:40.500:\n * var result = setMilliseconds(new Date(2014, 8, 1, 11, 30, 40, 500), 300)\n * //=> Mon Sep 01 2014 11:30:40.300\n */\nvar setMilliseconds = function(dirtyDate, milliseconds) {\n var date = parse(dirtyDate)\n date.setMilliseconds(milliseconds)\n return date\n}\n\nmodule.exports = setMilliseconds\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/set_milliseconds/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Minute Helpers\n * @summary Set the minutes.\n *\n * @description\n * Set the minutes to the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} minutes - the minutes of the new date\n * @returns {Date} the new date with the minutes setted\n *\n * @example\n * // Set 45 minutes to 1 September 2014 11:30:40:\n * var result = setMinutes(new Date(2014, 8, 1, 11, 30, 40), 45)\n * //=> Mon Sep 01 2014 11:45:40\n */\nvar setMinutes = function(dirtyDate, minutes) {\n var date = parse(dirtyDate)\n date.setMinutes(minutes)\n return date\n}\n\nmodule.exports = setMinutes\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/set_minutes/index.js\n **/","var parse = require('../parse')\nvar getDaysInMonth = require('../get_days_in_month')\n\n/**\n * @category Month Helpers\n * @summary Set the month.\n *\n * @description\n * Set the month to the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} month - the month of the new date\n * @returns {Date} the new date with the month setted\n *\n * @example\n * // Set February to 1 September 2014:\n * var result = setMonth(new Date(2014, 8, 1), 1)\n * //=> Sat Feb 01 2014 00:00:00\n */\nvar setMonth = function(dirtyDate, month) {\n var date = parse(dirtyDate)\n var year = date.getFullYear()\n var day = date.getDate()\n var daysInMonth = getDaysInMonth(new Date(year, month))\n // Set the last day of the new month\n // if the original date was the last day of the longer month\n date.setMonth(month, Math.min(day, daysInMonth))\n return date\n}\n\nmodule.exports = setMonth\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/set_month/index.js\n **/","var parse = require('../parse')\nvar setMonth = require('../set_month')\n\n/**\n * @category Quarter Helpers\n * @summary Set the year quarter.\n *\n * @description\n * Set the year quarter to the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} quarter - the quarter of the new date\n * @returns {Date} the new date with the quarter setted\n *\n * @example\n * // Set the 2nd quarter to 2 July 2014:\n * var result = setQuarter(new Date(2014, 6, 2), 2)\n * //=> Wed Apr 02 2014 00:00:00\n */\nvar setQuarter = function(dirtyDate, quarter) {\n var date = parse(dirtyDate)\n var oldQuarter = Math.floor(date.getMonth() / 3) + 1\n var diff = quarter - oldQuarter\n return setMonth(date, date.getMonth() + diff * 3)\n}\n\nmodule.exports = setQuarter\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/set_quarter/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Second Helpers\n * @summary Set the seconds.\n *\n * @description\n * Set the seconds to the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} seconds - the seconds of the new date\n * @returns {Date} the new date with the seconds setted\n *\n * @example\n * // Set 45 seconds to 1 September 2014 11:30:40:\n * var result = setSeconds(new Date(2014, 8, 1, 11, 30, 40), 45)\n * //=> Mon Sep 01 2014 11:30:45\n */\nvar setSeconds = function(dirtyDate, seconds) {\n var date = parse(dirtyDate)\n date.setSeconds(seconds)\n return date\n}\n\nmodule.exports = setSeconds\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/set_seconds/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Year Helpers\n * @summary Set the year.\n *\n * @description\n * Set the year to the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} year - the year of the new date\n * @returns {Date} the new date with the year setted\n *\n * @example\n * // Set year 2013 to 1 September 2014:\n * var result = setYear(new Date(2014, 8, 1), 2013)\n * //=> Sun Sep 01 2013 00:00:00\n */\nvar setYear = function(dirtyDate, year) {\n var date = parse(dirtyDate)\n date.setFullYear(year)\n return date\n}\n\nmodule.exports = setYear\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/set_year/index.js\n **/","var parse = require('../parse')\n\n/**\n * @category Month Helpers\n * @summary Return the start of a month for the given date.\n *\n * @description\n * Return the start of a month for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|String|Number} date - the original date\n * @returns {Date} the start of a month\n *\n * @example\n * // The start of a month for 2 September 2014 11:55:00:\n * var result = startOfMonth(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Mon Sep 01 2014 00:00:00\n */\nvar startOfMonth = function(dirtyDate) {\n var date = parse(dirtyDate)\n date.setDate(1)\n date.setHours(0, 0, 0, 0)\n return date\n}\n\nmodule.exports = startOfMonth\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/start_of_month/index.js\n **/","var startOfDay = require('../start_of_day')\n\n/**\n * @category Day Helpers\n * @summary Return the start of today.\n *\n * @description\n * Return the start of today.\n *\n * @returns {Date} the start of today\n *\n * @example\n * // If today is 6 October 2014:\n * var result = startOfToday()\n * //=> Mon Oct 6 2014 00:00:00\n */\nvar startOfToday = function() {\n return startOfDay(new Date())\n}\n\nmodule.exports = startOfToday\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/start_of_today/index.js\n **/","/**\n * @category Day Helpers\n * @summary Return the start of tomorrow.\n *\n * @description\n * Return the start of tomorrow.\n *\n * @returns {Date} the start of tomorrow\n *\n * @example\n * // If today is 6 October 2014:\n * var result = startOfTomorrow()\n * //=> Tue Oct 7 2014 00:00:00\n */\nvar startOfTomorrow = function() {\n var now = new Date()\n var year = now.getFullYear()\n var month = now.getMonth()\n var day = now.getDate()\n\n return new Date(year, month, day + 1)\n}\n\nmodule.exports = startOfTomorrow\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/start_of_tomorrow/index.js\n **/","/**\n * @category Day Helpers\n * @summary Return the start of yesterday.\n *\n * @description\n * Return the start of yesterday.\n *\n * @returns {Date} the start of yesterday\n *\n * @example\n * // If today is 6 October 2014:\n * var result = startOfYesterday()\n * //=> Sun Oct 5 2014 00:00:00\n */\nvar startOfYesterday = function() {\n var now = new Date()\n var year = now.getFullYear()\n var month = now.getMonth()\n var day = now.getDate()\n\n return new Date(year, month, day - 1)\n}\n\nmodule.exports = startOfYesterday\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/start_of_yesterday/index.js\n **/","var addDays = require('../add_days')\n\n/**\n * @category Day Helpers\n * @summary Subtract the specified number of days from the given date.\n *\n * @description\n * Subtract the specified number of days from the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} amount - the amount of days to be subtracted\n * @returns {Date} the new date with the days subtracted\n *\n * @example\n * // Subtract 10 days from 1 September 2014:\n * var result = subDays(new Date(2014, 8, 1), 10)\n * //=> Fri Aug 22 2014 00:00:00\n */\nvar subDays = function(dirtyDate, amount) {\n return addDays(dirtyDate, -amount)\n}\n\nmodule.exports = subDays\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/sub_days/index.js\n **/","var addHours = require('../add_hours')\n\n/**\n * @category Hour Helpers\n * @summary Subtract hours from the given date.\n *\n * @description\n * Subtract the specified number of hours from the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} amount - the amount of hours to be subtracted\n * @returns {Date} the new date with the hours subtracted\n *\n * @example\n * // Subtract 2 hours from 11 July 2014 01:00:00:\n * var result = subHours(new Date(2014, 6, 11, 1, 0), 2)\n * //=> Thu Jul 10 2014 23:00:00\n */\nvar subHours = function(dirtyDate, amount) {\n return addHours(dirtyDate, -amount)\n}\n\nmodule.exports = subHours\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/sub_hours/index.js\n **/","var addMilliseconds = require('../add_milliseconds')\n\n/**\n * @category Millisecond Helpers\n * @summary Subtract the milliseconds from the given date.\n *\n * @description\n * Subtract the specified number of milliseconds from the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} amount - the amount of milliseconds to be subtracted\n * @returns {Date} the new date with the milliseconds subtracted\n *\n * @example\n * // Subtract 750 milliseconds from 10 July 2014 12:45:30.000:\n * var result = subMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)\n * //=> Thu Jul 10 2014 12:45:29.250\n */\nvar subMilliseconds = function(dirtyDate, amount) {\n return addMilliseconds(dirtyDate, -amount)\n}\n\nmodule.exports = subMilliseconds\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/sub_milliseconds/index.js\n **/","var addMinutes = require('../add_minutes')\n\n/**\n * @category Minute Helpers\n * @summary Subtract the minutes from the given date.\n *\n * @description\n * Subtract the specified number of minutes from the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} amount - the amount of minutes to be subtracted\n * @returns {Date} the new date with the mintues subtracted\n *\n * @example\n * // Subtract 30 minutes from 10 July 2014 12:00:00:\n * var result = subMinutes(new Date(2014, 6, 10, 12, 0), 30)\n * //=> Thu Jul 10 2014 11:30:00\n */\nvar subMinutes = function(dirtyDate, amount) {\n return addMinutes(dirtyDate, -amount)\n}\n\nmodule.exports = subMinutes\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/sub_minutes/index.js\n **/","var addMonths = require('../add_months')\n\n/**\n * @category Month Helpers\n * @summary Subtract the specified number of months from the given date.\n *\n * @description\n * Subtract the specified number of month from the gien date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} amount - the amount of months to be subtracted\n * @returns {Date} the new date with the months subtracted\n *\n * @example\n * // Subtract 5 months from 1 February 2015:\n * var result = subMonths(new Date(2015, 1, 1), 5)\n * //=> Mon Sep 01 2014 00:00:00\n */\nvar subMonths = function(dirtyDate, amount) {\n return addMonths(dirtyDate, -amount)\n}\n\nmodule.exports = subMonths\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/sub_months/index.js\n **/","var addQuarters = require('../add_quarters')\n\n/**\n * @category Quarter Helpers\n * @summary Subtract the specified number of year quarters from the given date.\n *\n * @description\n * Subtract the specified number of quarters from the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} amount - the amount of quarters to be subtracted\n * @returns {Date} the new date with the quarters subtracted\n *\n * @example\n * // Subtract 3 quarters from 1 September 2014:\n * var result = subQuarters(new Date(2014, 8, 1), 3)\n * //=> Sun Dec 01 2013 00:00:00\n */\nvar subQuarters = function(dirtyDate, amount) {\n return addQuarters(dirtyDate, -amount)\n}\n\nmodule.exports = subQuarters\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/sub_quarters/index.js\n **/","var addSeconds = require('../add_seconds')\n\n/**\n * @category Second Helpers\n * @summary Subtract the seconds from the given date.\n *\n * @description\n * Subtract the specified number of seconds from the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} amount - the amount of seconds to be subtracted\n * @returns {Date} the new date with the seconds subtracted\n *\n * @example\n * // Subtract 30 seconds from 10 July 2014 12:45:00:\n * var result = subSeconds(new Date(2014, 6, 10, 12, 45, 0), 30)\n * //=> Thu Jul 10 2014 12:44:30\n */\nvar subSeconds = function(dirtyDate, amount) {\n return addSeconds(dirtyDate, -amount)\n}\n\nmodule.exports = subSeconds\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/sub_seconds/index.js\n **/","var addWeeks = require('../add_weeks')\n\n/**\n * @category Week Helpers\n * @summary Subtract specified number of weeks from the given date.\n *\n * @description\n * Subtract the specified number of weeks from the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} amount - the amount of weeks to be subtracted\n * @returns {Date} the new date with the weeks subtracted\n *\n * @example\n * // Subtract 4 weeks from 1 September 2014:\n * var result = subWeeks(new Date(2014, 8, 1), 4)\n * //=> Mon Aug 04 2014 00:00:00\n */\nvar subWeeks = function(dirtyDate, amount) {\n return addWeeks(dirtyDate, -amount)\n}\n\nmodule.exports = subWeeks\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/sub_weeks/index.js\n **/","var addYears = require('../add_years')\n\n/**\n * @category Year Helpers\n * @summary Subtract the specified number of years from the given date.\n *\n * @description\n * Subtract the specified number of years from the given date.\n *\n * @param {Date|String|Number} date - the date to be changed\n * @param {Number} amount - the amount of years to be subtracted\n * @returns {Date} the new date with the years subtracted\n *\n * @example\n * // Subtract 5 years from 1 September 2014:\n * var result = subYears(new Date(2014, 8, 1), 5)\n * //=> Tue Sep 01 2009 00:00:00\n */\nvar subYears = function(dirtyDate, amount) {\n return addYears(dirtyDate, -amount)\n}\n\nmodule.exports = subYears\n\n\n\n\n/** WEBPACK FOOTER **\n ** ./tmp/umd/sub_years/index.js\n **/"],"sourceRoot":""}