import{checkArg as e}from"./checkArg.js";import{format as t}from"./format/date.js";export{ERR_TIME_ZONE_INVALID,DEFAULT_PARSING_FORMATS,INVALID_DATE,isValid,format,parse,parseUtc,esriFormatToGeocortexFormat,isValidTimeZone,DateFormatter,settings}from"./format/date.js";export{DateFormat}from"./format/formats.js";export function getMonthName(o,a=!1,r=void 0){e("monthIndex",o).isInRange(0,11,"Month indexes must be between 0 and 11");return t({locale:r,format:a?"MMM":"MMMM"},new Date(2e3,o))}export function getWeekdayName(o,a=!1,r=void 0){e("weekdayIndex",o).isInRange(0,6,"Weekday indexes must be between 0 and 6");return t({locale:r,format:a?"ddd":"dddd"},new Date(2019,11,o+1))}