Sha256: 99e1048a6accf3c764f07f5342450ca320a69200d9e524fd70267bc6926e5d28

Contents?: true

Size: 1.6 KB

Versions: 5

Compression:

Stored size: 1.6 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1361724133.681671:@value"�{I"
class:EFI"ProcessedAsset;FI"logical_path;FI"Core/isLeapYear.js;TI"
pathname;FI"H/Users/bogumil/www/cesium/app/assets/javascripts/Core/isLeapYear.js;TI"content_type;FI"application/javascript;FI"
mtime;FI"2013-02-24T17:09:01+01:00;FI"length;FiI"digest;F"%cd178cd7b4c71935d23ff273e2c0fb7fI"source;FI"/*global define*/

define([
        './DeveloperError'
    ], function(
        DeveloperError) {
    "use strict";

    /**
     * Determines if a given date is a leap year.
     *
     * @exports isLeapYear
     *
     * @param {Number} year The year to be tested.
     *
     * @return {Boolean} True if <code>year</code> is a leap yer.
     *
     * @exception {DeveloperError} year is required and must be a number.
     *
     * @example
     * var leapYear = isLeapYear(2000); // true
     */
    function isLeapYear(year) {
        if (year === null || isNaN(year)) {
            throw new DeveloperError('year is required and must be a number.');
        }
        return ((year % 4 === 0) && (year % 100 !== 0)) || (year % 400 === 0);
    }

    return isLeapYear;
});
;FI"dependency_digest;F"%535aec3622a6684ff1020f37473ae8a6I"required_paths;F[I"H/Users/bogumil/www/cesium/app/assets/javascripts/Core/isLeapYear.js;TI"dependency_paths;F[{I"	path;FI"H/Users/bogumil/www/cesium/app/assets/javascripts/Core/isLeapYear.js;TI"
mtime;FI"2013-02-24T17:09:01+01:00;FI"digest;F"%78d8eb1c48c21558f95ded2b620c451cI"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cesium-0.24.0 test/dummy/tmp/cache/assets/CC0/650/sprockets%2Fb2ab3664d30be09155212b174a7ae016
cesium-0.23.0 test/dummy/tmp/cache/assets/CC0/650/sprockets%2Fb2ab3664d30be09155212b174a7ae016
cesium-0.22.0 test/dummy/tmp/cache/assets/CC0/650/sprockets%2Fb2ab3664d30be09155212b174a7ae016
cesium-0.14.0 test/dummy/tmp/cache/assets/CC0/650/sprockets%2Fb2ab3664d30be09155212b174a7ae016
cesium-0.13.2 test/dummy/tmp/cache/assets/CC0/650/sprockets%2Fb2ab3664d30be09155212b174a7ae016