/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
import { formatDate as i } from "@arcgis/core/intl.js";
function e(t) {
  return i(Math.round(r(t)) * 1e3, { minute: "2-digit", second: "2-digit" });
}
function r(t) {
  return Number.isFinite(t) && t >= 0 ? t : 0;
}
export {
  e as f,
  r as n
};
