import { __read } from "tslib";
export var formatISO8601ToDate = function (date) {
    var _a = __read(date.split(".").map(function (time) { return parseInt(time, 10); }), 3), day = _a[0], month = _a[1], year = _a[2];
    return new Date(year, month - 1, day);
};
export var ISO8601 = "dd.mm.yyyy";
export var isEqualDates = function (firstDate, secondDate) {
    return !(firstDate > secondDate) && !(firstDate < secondDate);
};
