snowyu/date-type.js

View on GitHub

Showing 18 of 18 total issues

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

    @param {Number}   The number of days to add. The number can be positive or negative [Required]
Severity: Minor
Found in src/value.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

  vDateMethodNames = vDateMethodNames.filter (name)-> not (name in ['constructor', 'valueOf', 'toJSON'])
Severity: Minor
Found in src/value.coffee by coffeelint

Line exceeds maximum allowed length
Open

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

Line exceeds maximum allowed length
Open

    @param {Number}   The number of months to add. The number can be positive or negative [Required]
Severity: Minor
Found in src/value.coffee by coffeelint

Line exceeds maximum allowed length
Open

    Compares this instance to a Date object and returns an number indication of their relative values.
Severity: Minor
Found in src/value.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

    @param {Number}   The number of years to add. The number can be positive or negative [Required]
Severity: Minor
Found in src/value.coffee by coffeelint

Line exceeds maximum allowed length
Open

    @param {Date}     Date object to compare. If no date to compare, new Date() [now] is used.
Severity: Minor
Found in src/value.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

    @param {Number}   The number of weeks to add. The number can be positive or negative [Required]
Severity: Minor
Found in src/value.coffee by coffeelint

Line exceeds maximum allowed length
Open

    @return {Number}  -1 = this is lessthan date. 0 = values are equal. 1 = this is greaterthan date.
Severity: Minor
Found in src/value.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
Severity
Category
Status
Source
Language