"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.compareReleasesByDateDesc = void 0;
/**
 * Compare OBLAC Drives releases by date in descending order.
 *
 * @param a
 * @param b
 * @returns
 */
function compareReleasesByDateDesc(a, b) {
    const d1 = a['date'];
    const d2 = b['date'];
    if (d1 < d2) {
        return 1;
    }
    else if (d1 > d2) {
        return -1;
    }
    else {
        return 0;
    }
}
exports.compareReleasesByDateDesc = compareReleasesByDateDesc;
//# sourceMappingURL=oblac-drives-release.js.map