"use strict";
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
Object.defineProperty(exports, "__esModule", { value: true });
exports.maxTime = exports.getFormattedDateString = void 0;
/**
 * @internal
 */
function getFormattedDateString(date) {
    return date ? date.toISOString() : undefined;
}
exports.getFormattedDateString = getFormattedDateString;
/**
 * @internal
 */
function maxTime(first, second) {
    if (!first || !second) {
        return first ? first : second;
    }
    return first > second ? first : second;
}
exports.maxTime = maxTime;
//# sourceMappingURL=timeUtils.js.map