snowyu/date-type.js

View on GitHub
src/index.coffee

Summary

Maintainability
Test Coverage

Line contains inconsistent indentation
Open

     [31, (if @isLeapYear(aYear) then 29 else 28), 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][aMonth]
Severity: Minor
Found in src/index.coffee by coffeelint

Line exceeds maximum allowed length
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).
Severity: Minor
Found in src/index.coffee by coffeelint

Line exceeds maximum allowed length
Open

      Resets the time of the Date object to 12:00 AM (00:00), which is the start of the day.
Severity: Minor
Found in src/index.coffee by coffeelint

Line exceeds maximum allowed length
Open

    Gets the number of days in the month, given a year and month value. Automatically corrects for LeapYear.
Severity: Minor
Found in src/index.coffee by coffeelint

Line exceeds maximum allowed length
Open

     [31, (if @isLeapYear(aYear) then 29 else 28), 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][aMonth]
Severity: Minor
Found in src/index.coffee by coffeelint

Line exceeds maximum allowed length
Open

    @createValue new Date #Date.now || new Date().getTime() # whether polyfill? if no es5-shim
Severity: Minor
Found in src/index.coffee by coffeelint

Line exceeds maximum allowed length
Open

    Compares the first date to the second date and returns an number indication of their relative values.
Severity: Minor
Found in src/index.coffee by coffeelint

Line exceeds maximum allowed length
Open

    Compares the first Date object to the second Date object and returns true if they are equal.
Severity: Minor
Found in src/index.coffee by coffeelint

Line exceeds maximum allowed length
Open

    @return {Number}  -1 = value1 is lessthan value2. 0 = values are equal. 1 = value1 is greaterthan value2.
Severity: Minor
Found in src/index.coffee by coffeelint

There are no issues that match your filters.

Category
Status