{"ast":null,"code":"import { startOfHour } from \"./startOfHour.mjs\";\n\n/**\n * @name isSameHour\n * @category Hour Helpers\n * @summary Are the given dates in the same hour (and same day)?\n *\n * @description\n * Are the given dates in the same hour (and same day)?\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param dateLeft - The first date to check\n * @param dateRight - The second date to check\n *\n * @returns The dates are in the same hour (and same day)\n *\n * @example\n * // Are 4 September 2014 06:00:00 and 4 September 06:30:00 in the same hour?\n * const result = isSameHour(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 6, 30))\n * //=> true\n *\n * @example\n * // Are 4 September 2014 06:00:00 and 5 September 06:00:00 in the same hour?\n * const result = isSameHour(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 5, 6, 0))\n * //=> false\n */\nexport function isSameHour(dateLeft, dateRight) {\n  const dateLeftStartOfHour = startOfHour(dateLeft);\n  const dateRightStartOfHour = startOfHour(dateRight);\n  return +dateLeftStartOfHour === +dateRightStartOfHour;\n}\n\n// Fallback for modularized imports:\nexport default isSameHour;","map":{"version":3,"names":["startOfHour","isSameHour","dateLeft","dateRight","dateLeftStartOfHour","dateRightStartOfHour"],"sources":["/root/rfcontavagas_hom/12.-Servidor-local-Docker/Front-Parking-Angular/node_modules/date-fns/isSameHour.mjs"],"sourcesContent":["import { startOfHour } from \"./startOfHour.mjs\";\n\n/**\n * @name isSameHour\n * @category Hour Helpers\n * @summary Are the given dates in the same hour (and same day)?\n *\n * @description\n * Are the given dates in the same hour (and same day)?\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param dateLeft - The first date to check\n * @param dateRight - The second date to check\n *\n * @returns The dates are in the same hour (and same day)\n *\n * @example\n * // Are 4 September 2014 06:00:00 and 4 September 06:30:00 in the same hour?\n * const result = isSameHour(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 6, 30))\n * //=> true\n *\n * @example\n * // Are 4 September 2014 06:00:00 and 5 September 06:00:00 in the same hour?\n * const result = isSameHour(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 5, 6, 0))\n * //=> false\n */\nexport function isSameHour(dateLeft, dateRight) {\n  const dateLeftStartOfHour = startOfHour(dateLeft);\n  const dateRightStartOfHour = startOfHour(dateRight);\n\n  return +dateLeftStartOfHour === +dateRightStartOfHour;\n}\n\n// Fallback for modularized imports:\nexport default isSameHour;\n"],"mappings":"AAAA,SAASA,WAAW,QAAQ,mBAAmB;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,UAAUA,CAACC,QAAQ,EAAEC,SAAS,EAAE;EAC9C,MAAMC,mBAAmB,GAAGJ,WAAW,CAACE,QAAQ,CAAC;EACjD,MAAMG,oBAAoB,GAAGL,WAAW,CAACG,SAAS,CAAC;EAEnD,OAAO,CAACC,mBAAmB,KAAK,CAACC,oBAAoB;AACvD;;AAEA;AACA,eAAeJ,UAAU","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}