"use strict";
/* Socket Lib - Built with rolldown */
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const require_primordials_uncurry = require('./uncurry.js');
const require_smol_primordial = require('../smol/primordial.js');

//#region src/primordials/date.ts
/**
* @file Safe references to `Date`. `DateNow` prefers the smol Fast API binding
*   (single-byte wallclock read inlined into JIT'd callers) when available;
*   stock Node falls back to `Date.now`.
*/
const _smolPrimordial = /* @__PURE__ */ require_smol_primordial.getSmolPrimordial();
const DateCtor = Date;
const DateNow = _smolPrimordial?.dateNow ?? Date.now;
const DateParse = Date.parse;
const DateUTC = Date.UTC;
const DatePrototypeGetTime = require_primordials_uncurry.uncurryThis(Date.prototype.getTime);
const DatePrototypeToISOString = require_primordials_uncurry.uncurryThis(Date.prototype.toISOString);
const DatePrototypeToLocaleString = require_primordials_uncurry.uncurryThis(Date.prototype.toLocaleString);
const DatePrototypeValueOf = require_primordials_uncurry.uncurryThis(Date.prototype.valueOf);

//#endregion
exports.DateCtor = DateCtor;
exports.DateNow = DateNow;
exports.DateParse = DateParse;
exports.DatePrototypeGetTime = DatePrototypeGetTime;
exports.DatePrototypeToISOString = DatePrototypeToISOString;
exports.DatePrototypeToLocaleString = DatePrototypeToLocaleString;
exports.DatePrototypeValueOf = DatePrototypeValueOf;
exports.DateUTC = DateUTC;