[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/js/dist/vendor/ -> moment.js (summary)

(no description)

File Size: 5685 lines (175 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 272 functions

  hooks()
  setHookCallback()
  isArray()
  isObject()
  hasOwnProp()
  isObjectEmpty()
  isUndefined()
  isNumber()
  isDate()
  map()
  extend()
  createUTC()
  defaultParsingFlags()
  getParsingFlags()
  isValid()
  createInvalid()
  copyConfig()
  Moment()
  isMoment()
  warn()
  deprecate()
  deprecateSimple()
  isFunction()
  set()
  mergeConfigs()
  Locale()
  calendar()
  zeroFill()
  addFormatToken()
  removeFormattingTokens()
  makeFormatFunction()
  formatMoment()
  expandFormat()
  replaceLongDateFormatTokens()
  longDateFormat()
  invalidDate()
  ordinal()
  relativeTime()
  pastFuture()
  addUnitAlias()
  normalizeUnits()
  normalizeObjectUnits()
  addUnitPriority()
  getPrioritizedUnits()
  isLeapYear()
  absFloor()
  toInt()
  makeGetSet()
  get()
  set()
  stringGet()
  stringSet()
  addRegexToken()
  getParseRegexForToken()
  unescapeFormat()
  regexEscape()
  addParseToken()
  addWeekParseToken()
  addTimeToArrayFromToken()
  mod()
  daysInMonth()
  localeMonths()
  localeMonthsShort()
  handleStrictParse()
  localeMonthsParse()
  setMonth()
  getSetMonth()
  getDaysInMonth()
  monthsShortRegex()
  monthsRegex()
  computeMonthsParse()
  cmpLenRev()
  daysInYear()
  getIsLeapYear()
  createDate()
  createUTCDate()
  firstWeekOffset()
  dayOfYearFromWeeks()
  weekOfYear()
  weeksInYear()
  localeWeek()
  localeFirstDayOfWeek()
  localeFirstDayOfYear()
  getSetWeek()
  getSetISOWeek()
  parseWeekday()
  parseIsoWeekday()
  shiftWeekdays()
  localeWeekdays()
  localeWeekdaysShort()
  localeWeekdaysMin()
  handleStrictParse()
  localeWeekdaysParse()
  getSetDayOfWeek()
  getSetLocaleDayOfWeek()
  getSetISODayOfWeek()
  weekdaysRegex()
  weekdaysShortRegex()
  weekdaysMinRegex()
  computeWeekdaysParse()
  cmpLenRev()
  hFormat()
  kFormat()
  meridiem()
  matchMeridiem()
  localeIsPM()
  localeMeridiem()
  commonPrefix()
  normalizeLocale()
  chooseLocale()
  isLocaleNameSane()
  loadLocale()
  getSetGlobalLocale()
  defineLocale()
  updateLocale()
  getLocale()
  listLocales()
  checkOverflow()
  configFromISO()
  extractFromRFC2822Strings()
  untruncateYear()
  preprocessRFC2822()
  checkWeekday()
  calculateOffset()
  configFromRFC2822()
  configFromString()
  defaults()
  currentDateArray()
  configFromArray()
  dayOfYearFromWeekInfo()
  configFromStringAndFormat()
  meridiemFixWrap()
  configFromStringAndArray()
  configFromObject()
  createFromConfig()
  prepareConfig()
  configFromInput()
  createLocalOrUTC()
  createLocal()
  pickBy()
  min()
  max()
  isDurationValid()
  isValid()
  Duration()
  isDuration()
  absRound()
  compareArrays()
  offset()
  offsetFromString()
  cloneWithOffset()
  getDateOffset()
  getSetOffset()
  getSetZone()
  setOffsetToUTC()
  setOffsetToLocal()
  setOffsetToParsedOffset()
  hasAlignedHourOffset()
  isDaylightSavingTime()
  isDaylightSavingTimeShifted()
  isLocal()
  isUtcOffset()
  isUtc()
  createDuration()
  parseIso()
  positiveMomentsDifference()
  momentsDifference()
  createAdder()
  addSubtract()
  isString()
  isMomentInput()
  isMomentInputObject()
  isNumberOrStringArray()
  isCalendarSpec()
  getCalendarFormat()
  calendar()
  clone()
  isAfter()
  isBefore()
  isBetween()
  isSame()
  isSameOrAfter()
  isSameOrBefore()
  diff()
  monthDiff()
  toString()
  toISOString()
  inspect()
  format()
  from()
  fromNow()
  to()
  toNow()
  locale()
  localeData()
  mod()
  localStartOfDate()
  utcStartOfDate()
  startOf()
  endOf()
  valueOf()
  unix()
  toDate()
  toArray()
  toObject()
  toJSON()
  isValid()
  parsingFlags()
  invalidAt()
  creationData()
  localeEras()
  localeErasParse()
  localeErasConvertYear()
  getEraName()
  getEraNarrow()
  getEraAbbr()
  getEraYear()
  erasNameRegex()
  erasAbbrRegex()
  erasNarrowRegex()
  matchEraAbbr()
  matchEraName()
  matchEraNarrow()
  matchEraYearOrdinal()
  computeErasParse()
  addWeekYearFormatToken()
  getSetWeekYear()
  getSetISOWeekYear()
  getISOWeeksInYear()
  getISOWeeksInISOWeekYear()
  getWeeksInYear()
  getWeeksInWeekYear()
  getSetWeekYearHelper()
  setWeekAll()
  getSetQuarter()
  getSetDayOfYear()
  parseMs()
  getZoneAbbr()
  getZoneName()
  createUnix()
  createInZone()
  preParsePostFormat()
  get()
  listMonthsImpl()
  listWeekdaysImpl()
  listMonths()
  listMonthsShort()
  listWeekdays()
  listWeekdaysShort()
  listWeekdaysMin()
  abs()
  addSubtract()
  add()
  subtract()
  absCeil()
  bubble()
  daysToMonths()
  monthsToDays()
  as()
  valueOf()
  makeAs()
  clone()
  get()
  makeGetter()
  weeks()
  substituteTimeAgo()
  relativeTime()
  getSetRelativeTimeRounding()
  getSetRelativeTimeThreshold()
  humanize()
  sign()
  toISOString()

Functions
Functions that are not part of a class:

hooks()   X-Ref
No description

setHookCallback(callback)   X-Ref
No description

isArray(input)   X-Ref
No description

isObject(input)   X-Ref
No description

hasOwnProp(a, b)   X-Ref
No description

isObjectEmpty(obj)   X-Ref
No description

isUndefined(input)   X-Ref
No description

isNumber(input)   X-Ref
No description

isDate(input)   X-Ref
No description

map(arr, fn)   X-Ref
No description

extend(a, b)   X-Ref
No description

createUTC(input, format, locale, strict)   X-Ref
No description

defaultParsingFlags()   X-Ref
No description

getParsingFlags(m)   X-Ref
No description

isValid(m)   X-Ref
No description

createInvalid(flags)   X-Ref
No description

copyConfig(to, from)   X-Ref
No description

Moment(config)   X-Ref
No description

isMoment(obj)   X-Ref
No description

warn(msg)   X-Ref
No description

deprecate(msg, fn)   X-Ref
No description

deprecateSimple(name, msg)   X-Ref
No description

isFunction(input)   X-Ref
No description

set(config)   X-Ref
No description

mergeConfigs(parentConfig, childConfig)   X-Ref
No description

Locale(config)   X-Ref
No description

calendar(key, mom, now)   X-Ref
No description

zeroFill(number, targetLength, forceSign)   X-Ref
No description

addFormatToken(token, padded, ordinal, callback)   X-Ref
No description

removeFormattingTokens(input)   X-Ref
No description

makeFormatFunction(format)   X-Ref
No description

formatMoment(m, format)   X-Ref
No description

expandFormat(format, locale)   X-Ref
No description

replaceLongDateFormatTokens(input)   X-Ref
No description

longDateFormat(key)   X-Ref
No description

invalidDate()   X-Ref
No description

ordinal(number)   X-Ref
No description

relativeTime(number, withoutSuffix, string, isFuture)   X-Ref
No description

pastFuture(diff, output)   X-Ref
No description

addUnitAlias(unit, shorthand)   X-Ref
No description

normalizeUnits(units)   X-Ref
No description

normalizeObjectUnits(inputObject)   X-Ref
No description

addUnitPriority(unit, priority)   X-Ref
No description

getPrioritizedUnits(unitsObj)   X-Ref
No description

isLeapYear(year)   X-Ref
No description

absFloor(number)   X-Ref
No description

toInt(argumentForCoercion)   X-Ref
No description

makeGetSet(unit, keepTime)   X-Ref
No description

get(mom, unit)   X-Ref
No description

set(if (mom.isValid()   X-Ref
No description

stringGet(units)   X-Ref
No description

stringSet(units, value)   X-Ref
No description

addRegexToken(token, regex, strictRegex)   X-Ref
No description

getParseRegexForToken(token, config)   X-Ref
No description

unescapeFormat(s)   X-Ref
No description

regexEscape(s)   X-Ref
No description

addParseToken(token, callback)   X-Ref
No description

addWeekParseToken(token, callback)   X-Ref
No description

addTimeToArrayFromToken(token, input, config)   X-Ref
No description

mod(n, x)   X-Ref
No description

daysInMonth(year, month)   X-Ref
No description

localeMonths(m, format)   X-Ref
No description

localeMonthsShort(m, format)   X-Ref
No description

handleStrictParse(monthName, format, strict)   X-Ref
No description

localeMonthsParse(monthName, format, strict)   X-Ref
No description

setMonth(mom, value)   X-Ref
No description

getSetMonth(value)   X-Ref
No description

getDaysInMonth()   X-Ref
No description

monthsShortRegex(isStrict)   X-Ref
No description

monthsRegex(isStrict)   X-Ref
No description

computeMonthsParse()   X-Ref
No description

cmpLenRev(a, b)   X-Ref
No description

daysInYear(year)   X-Ref
No description

getIsLeapYear()   X-Ref
No description

createDate(y, m, d, h, M, s, ms)   X-Ref
No description

createUTCDate(y)   X-Ref
No description

firstWeekOffset(year, dow, doy)   X-Ref
No description

dayOfYearFromWeeks(year, week, weekday, dow, doy)   X-Ref
No description

weekOfYear(mom, dow, doy)   X-Ref
No description

weeksInYear(year, dow, doy)   X-Ref
No description

localeWeek(mom)   X-Ref
No description

localeFirstDayOfWeek()   X-Ref
No description

localeFirstDayOfYear()   X-Ref
No description

getSetWeek(input)   X-Ref
No description

getSetISOWeek(input)   X-Ref
No description

parseWeekday(input, locale)   X-Ref
No description

parseIsoWeekday(input, locale)   X-Ref
No description

shiftWeekdays(ws, n)   X-Ref
No description

localeWeekdays(m, format)   X-Ref
No description

localeWeekdaysShort(m)   X-Ref
No description

localeWeekdaysMin(m)   X-Ref
No description

handleStrictParse(var i,ii,mom,llc = weekdayName.toLocaleLowerCase()   X-Ref
No description

localeWeekdaysParse(weekdayName, format, strict)   X-Ref
No description

getSetDayOfWeek(input)   X-Ref
No description

getSetLocaleDayOfWeek(input)   X-Ref
No description

getSetISODayOfWeek(input)   X-Ref
No description

weekdaysRegex(isStrict)   X-Ref
No description

weekdaysShortRegex(isStrict)   X-Ref
No description

weekdaysMinRegex(isStrict)   X-Ref
No description

computeWeekdaysParse()   X-Ref
No description

cmpLenRev(a, b)   X-Ref
No description

hFormat()   X-Ref
No description

kFormat()   X-Ref
No description

meridiem(token, lowercase)   X-Ref
No description

matchMeridiem(isStrict, locale)   X-Ref
No description

localeIsPM(input)   X-Ref
No description

localeMeridiem(hours, minutes, isLower)   X-Ref
No description

commonPrefix(arr1, arr2)   X-Ref
No description

normalizeLocale(key)   X-Ref
No description

chooseLocale(names)   X-Ref
No description

isLocaleNameSane(name)   X-Ref
No description

loadLocale(name)   X-Ref
No description

getSetGlobalLocale(key, values)   X-Ref
No description

defineLocale(name, config)   X-Ref
No description

updateLocale(name, config)   X-Ref
No description

getLocale(key)   X-Ref
No description

listLocales()   X-Ref
No description

checkOverflow(m)   X-Ref
No description

configFromISO(config)   X-Ref
No description

extractFromRFC2822Strings(yearStr,monthStr,dayStr,hourStr,minuteStr,secondStr)   X-Ref
No description

untruncateYear(yearStr)   X-Ref
No description

preprocessRFC2822(s)   X-Ref
No description

checkWeekday(weekdayStr, parsedInput, config)   X-Ref
No description

calculateOffset(obsOffset, militaryOffset, numOffset)   X-Ref
No description

configFromRFC2822(config)   X-Ref
No description

configFromString(config)   X-Ref
No description

defaults(a, b, c)   X-Ref
No description

currentDateArray(config)   X-Ref
No description

configFromArray(config)   X-Ref
No description

dayOfYearFromWeekInfo(config)   X-Ref
No description

configFromStringAndFormat(config)   X-Ref
No description

meridiemFixWrap(locale, hour, meridiem)   X-Ref
No description

configFromStringAndArray(config)   X-Ref
No description

configFromObject(config)   X-Ref
No description

createFromConfig(config)   X-Ref
No description

prepareConfig(config)   X-Ref
No description

configFromInput(config)   X-Ref
No description

createLocalOrUTC(input, format, locale, strict, isUTC)   X-Ref
No description

createLocal(input, format, locale, strict)   X-Ref
No description

pickBy(fn, moments)   X-Ref
No description

min()   X-Ref
No description

max()   X-Ref
No description

isDurationValid(m)   X-Ref
No description

isValid(return this._isValid;}function createInvalid$1()   X-Ref
No description

Duration(duration)   X-Ref
No description

isDuration(obj)   X-Ref
No description

absRound(number)   X-Ref
No description

compareArrays(array1, array2, dontConvert)   X-Ref
No description

offset(token, separator)   X-Ref
No description

offsetFromString(matcher, string)   X-Ref
No description

cloneWithOffset(input, model)   X-Ref
No description

getDateOffset(m)   X-Ref
No description

getSetOffset(input, keepLocalTime, keepMinutes)   X-Ref
No description

getSetZone(input, keepLocalTime)   X-Ref
No description

setOffsetToUTC(keepLocalTime)   X-Ref
No description

setOffsetToLocal(keepLocalTime)   X-Ref
No description

setOffsetToParsedOffset()   X-Ref
No description

hasAlignedHourOffset(input)   X-Ref
No description

isDaylightSavingTime()   X-Ref
No description

isDaylightSavingTimeShifted()   X-Ref
No description

isLocal()   X-Ref
No description

isUtcOffset()   X-Ref
No description

isUtc()   X-Ref
No description

createDuration(input, key)   X-Ref
No description

parseIso(inp, sign)   X-Ref
No description

positiveMomentsDifference(base, other)   X-Ref
No description

momentsDifference(base, other)   X-Ref
No description

createAdder(direction, name)   X-Ref
No description

addSubtract(mom, duration, isAdding, updateOffset)   X-Ref
No description

isString(input)   X-Ref
No description

isMomentInput(input)   X-Ref
No description

isMomentInputObject(input)   X-Ref
No description

isNumberOrStringArray(input)   X-Ref
No description

isCalendarSpec(input)   X-Ref
No description

getCalendarFormat(myMoment, now)   X-Ref
No description

calendar(if (arguments.length === 1)   X-Ref
No description

clone()   X-Ref
No description

isAfter(input, units)   X-Ref
No description

isBefore(input, units)   X-Ref
No description

isBetween(from, to, units, inclusivity)   X-Ref
No description

isSame(input, units)   X-Ref
No description

isSameOrAfter(input, units)   X-Ref
No description

isSameOrBefore(input, units)   X-Ref
No description

diff(input, units, asFloat)   X-Ref
No description

monthDiff(a, b)   X-Ref
No description

toString()   X-Ref
No description

toISOString(keepOffset)   X-Ref
No description

inspect()   X-Ref
Return a human readable representation of a moment that can
also be evaluated to get a new moment which is the same


format(inputString)   X-Ref
No description

from(time, withoutSuffix)   X-Ref
No description

fromNow(withoutSuffix)   X-Ref
No description

to(time, withoutSuffix)   X-Ref
No description

toNow(withoutSuffix)   X-Ref
No description

locale(key)   X-Ref
No description

localeData()   X-Ref
No description

mod(return ((dividend % divisor)   X-Ref
No description

localStartOfDate(y, m, d)   X-Ref
No description

utcStartOfDate(y, m, d)   X-Ref
No description

startOf(units)   X-Ref
No description

endOf(units)   X-Ref
No description

valueOf()   X-Ref
No description

unix()   X-Ref
No description

toDate()   X-Ref
No description

toArray()   X-Ref
No description

toObject()   X-Ref
No description

toJSON()   X-Ref
No description

isValid(return isValid(this)   X-Ref
No description

parsingFlags()   X-Ref
No description

invalidAt()   X-Ref
No description

creationData()   X-Ref
No description

localeEras(m, format)   X-Ref
No description

localeErasParse(eraName, format, strict)   X-Ref
No description

localeErasConvertYear(era, year)   X-Ref
No description

getEraName()   X-Ref
No description

getEraNarrow()   X-Ref
No description

getEraAbbr()   X-Ref
No description

getEraYear()   X-Ref
No description

erasNameRegex(isStrict)   X-Ref
No description

erasAbbrRegex(isStrict)   X-Ref
No description

erasNarrowRegex(isStrict)   X-Ref
No description

matchEraAbbr(isStrict, locale)   X-Ref
No description

matchEraName(isStrict, locale)   X-Ref
No description

matchEraNarrow(isStrict, locale)   X-Ref
No description

matchEraYearOrdinal(isStrict, locale)   X-Ref
No description

computeErasParse()   X-Ref
No description

addWeekYearFormatToken(token, getter)   X-Ref
No description

getSetWeekYear(input)   X-Ref
No description

getSetISOWeekYear(input)   X-Ref
No description

getISOWeeksInYear()   X-Ref
No description

getISOWeeksInISOWeekYear()   X-Ref
No description

getWeeksInYear()   X-Ref
No description

getWeeksInWeekYear()   X-Ref
No description

getSetWeekYearHelper(input, week, weekday, dow, doy)   X-Ref
No description

setWeekAll(weekYear, week, weekday, dow, doy)   X-Ref
No description

getSetQuarter(input)   X-Ref
No description

getSetDayOfYear(input)   X-Ref
No description

parseMs(input, array)   X-Ref
No description

getZoneAbbr()   X-Ref
No description

getZoneName()   X-Ref
No description

createUnix(input)   X-Ref
No description

createInZone()   X-Ref
No description

preParsePostFormat(string)   X-Ref
No description

get(var locale = getLocale()   X-Ref
No description

listMonthsImpl(format, index, field)   X-Ref
No description

listWeekdaysImpl(localeSorted, format, index, field)   X-Ref
No description

listMonths(format, index)   X-Ref
No description

listMonthsShort(format, index)   X-Ref
No description

listWeekdays(localeSorted, format, index)   X-Ref
No description

listWeekdaysShort(localeSorted, format, index)   X-Ref
No description

listWeekdaysMin(localeSorted, format, index)   X-Ref
No description

abs()   X-Ref
No description

addSubtract(var other = createDuration(input, value)   X-Ref
No description

add(return addSubtract$1(this, input, value, 1)   X-Ref
No description

subtract(return addSubtract$1(this, input, value, -1)   X-Ref
No description

absCeil(number)   X-Ref
No description

bubble()   X-Ref
No description

daysToMonths(days)   X-Ref
No description

monthsToDays(months)   X-Ref
No description

as(units)   X-Ref
No description

valueOf(if (!this.isValid()   X-Ref
No description

makeAs(alias)   X-Ref
No description

clone(return createDuration(this)   X-Ref
No description

get(units = normalizeUnits(units)   X-Ref
No description

makeGetter(name)   X-Ref
No description

weeks()   X-Ref
No description

substituteTimeAgo(string, number, withoutSuffix, isFuture, locale)   X-Ref
No description

relativeTime(var duration = createDuration(posNegDuration)   X-Ref
No description

getSetRelativeTimeRounding(roundingFunction)   X-Ref
No description

getSetRelativeTimeThreshold(threshold, limit)   X-Ref
No description

humanize(argWithSuffix, argThresholds)   X-Ref
No description

sign(x)   X-Ref
No description

toISOString(if (!this.isValid()   X-Ref
No description



Generated: Wed Dec 25 01:00:02 2024 Cross-referenced by PHPXref 0.7.1