"use strict";

export const isDateBefore = (date1, date2) => {
  return new Date(date1) < new Date(date2);
};
export const isDateAfter = (date1, date2) => {
  return new Date(date1) > new Date(date2);
};
export const getHighResolutionTimestamp = () => {
  const milliseconds = Date.now();
  const microseconds = Math.floor(performance.now() * 10);
  return `${milliseconds}${microseconds.toString().padStart(6, '0')}`;
};
//# sourceMappingURL=dateComparison.js.map