src/index.coffee
Line contains inconsistent indentation Open
Open
[31, (if @isLeapYear(aYear) then 29 else 28), 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][aMonth]
- Exclude checks
Line exceeds maximum allowed length Open
Open
Gets a date that is set to the current date. The time is set to the start of the day (00:00 or 12:00 AM).
- Exclude checks
Line exceeds maximum allowed length Open
Open
Resets the time of the Date object to 12:00 AM (00:00), which is the start of the day.
- Exclude checks
Line exceeds maximum allowed length Open
Open
Gets the number of days in the month, given a year and month value. Automatically corrects for LeapYear.
- Exclude checks
Line exceeds maximum allowed length Open
Open
[31, (if @isLeapYear(aYear) then 29 else 28), 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][aMonth]
- Exclude checks
Line exceeds maximum allowed length Open
Open
@createValue new Date #Date.now || new Date().getTime() # whether polyfill? if no es5-shim
- Exclude checks
Line exceeds maximum allowed length Open
Open
Compares the first date to the second date and returns an number indication of their relative values.
- Exclude checks
Line exceeds maximum allowed length Open
Open
Compares the first Date object to the second Date object and returns true if they are equal.
- Exclude checks
Line exceeds maximum allowed length Open
Open
@return {Number} -1 = value1 is lessthan value2. 0 = values are equal. 1 = value1 is greaterthan value2.
- Exclude checks