api documentation for moment-timezone (v0.5.13)

Parse and display moments in any timezone.

table of contents

  1. module moment-timezone
    1. boolean moment-timezone.suppressDeprecationWarnings
    2. function moment-timezone ()
    3. function moment-timezone.ISO_8601 ()
    4. function moment-timezone.RFC_2822 ()
    5. function moment-timezone.calendarFormat (myMoment, now)
    6. function moment-timezone.createFromInputFallback ()
    7. function moment-timezone.defineLocale (name, config)
    8. function moment-timezone.duration (input, key)
    9. function moment-timezone.invalid (flags)
    10. function moment-timezone.isDate (input)
    11. function moment-timezone.isDuration (obj)
    12. function moment-timezone.isMoment (obj)
    13. function moment-timezone.lang ()
    14. function moment-timezone.langData ()
    15. function moment-timezone.locale (key, values)
    16. function moment-timezone.localeData (key)
    17. function moment-timezone.locales ()
    18. function moment-timezone.max ()
    19. function moment-timezone.min ()
    20. function moment-timezone.moment_timezone ()
    21. function moment-timezone.months (format, index)
    22. function moment-timezone.monthsShort (format, index)
    23. function moment-timezone.normalizeUnits (units)
    24. function moment-timezone.now ()
    25. function moment-timezone.parseTwoDigitYear (input)
    26. function moment-timezone.parseZone ()
    27. function moment-timezone.relativeTimeRounding (roundingFunction)
    28. function moment-timezone.relativeTimeThreshold (threshold, limit)
    29. function moment-timezone.tz (input)
    30. function moment-timezone.tz.Zone (packedString)
    31. function moment-timezone.unix (input)
    32. function moment-timezone.updateLocale (name, config)
    33. function moment-timezone.updateOffset (mom, keepTime)
    34. function moment-timezone.utc (input, format, locale, strict)
    35. function moment-timezone.weekdays (localeSorted, format, index)
    36. function moment-timezone.weekdaysMin (localeSorted, format, index)
    37. function moment-timezone.weekdaysShort (localeSorted, format, index)
    38. object moment-timezone.defaultZone
    39. object moment-timezone.deprecationHandler
    40. object moment-timezone.duration.fn
    41. object moment-timezone.fn
    42. object moment-timezone.momentProperties
    43. object moment-timezone.tz.Zone.prototype
    44. string moment-timezone.defaultFormat
    45. string moment-timezone.defaultFormatUtc
    46. string moment-timezone.version
  2. module moment-timezone.duration
    1. function moment-timezone.duration (input, key)
    2. function moment-timezone.duration.invalid ()
    3. object moment-timezone.duration.fn
  3. module moment-timezone.duration.fn
    1. function moment-timezone.duration.fn._bubble ()
    2. function moment-timezone.duration.fn.abs ()
    3. function moment-timezone.duration.fn.add (input, value)
    4. function moment-timezone.duration.fn.as (units)
    5. function moment-timezone.duration.fn.asDays ()
    6. function moment-timezone.duration.fn.asHours ()
    7. function moment-timezone.duration.fn.asMilliseconds ()
    8. function moment-timezone.duration.fn.asMinutes ()
    9. function moment-timezone.duration.fn.asMonths ()
    10. function moment-timezone.duration.fn.asSeconds ()
    11. function moment-timezone.duration.fn.asWeeks ()
    12. function moment-timezone.duration.fn.asYears ()
    13. function moment-timezone.duration.fn.days ()
    14. function moment-timezone.duration.fn.get (units)
    15. function moment-timezone.duration.fn.hours ()
    16. function moment-timezone.duration.fn.humanize (withSuffix)
    17. function moment-timezone.duration.fn.isValid ()
    18. function moment-timezone.duration.fn.lang ()
    19. function moment-timezone.duration.fn.locale (key)
    20. function moment-timezone.duration.fn.localeData ()
    21. function moment-timezone.duration.fn.milliseconds ()
    22. function moment-timezone.duration.fn.minutes ()
    23. function moment-timezone.duration.fn.months ()
    24. function moment-timezone.duration.fn.seconds ()
    25. function moment-timezone.duration.fn.subtract (input, value)
    26. function moment-timezone.duration.fn.toISOString ()
    27. function moment-timezone.duration.fn.toIsoString ()
    28. function moment-timezone.duration.fn.toJSON ()
    29. function moment-timezone.duration.fn.toString ()
    30. function moment-timezone.duration.fn.valueOf ()
    31. function moment-timezone.duration.fn.weeks ()
    32. function moment-timezone.duration.fn.years ()
  4. module moment-timezone.fn
    1. function moment-timezone.fn.add (val, period)
    2. function moment-timezone.fn.calendar (time, formats)
    3. function moment-timezone.fn.clone ()
    4. function moment-timezone.fn.creationData ()
    5. function moment-timezone.fn.date (value)
    6. function moment-timezone.fn.dates ()
    7. function moment-timezone.fn.day (input)
    8. function moment-timezone.fn.dayOfYear (input)
    9. function moment-timezone.fn.days (input)
    10. function moment-timezone.fn.daysInMonth ()
    11. function moment-timezone.fn.diff (input, units, asFloat)
    12. function moment-timezone.fn.endOf (units)
    13. function moment-timezone.fn.format (inputString)
    14. function moment-timezone.fn.from (time, withoutSuffix)
    15. function moment-timezone.fn.fromNow (withoutSuffix)
    16. function moment-timezone.fn.get (units)
    17. function moment-timezone.fn.hasAlignedHourOffset (input)
    18. function moment-timezone.fn.hour (value)
    19. function moment-timezone.fn.hours (value)
    20. function moment-timezone.fn.inspect ()
    21. function moment-timezone.fn.invalidAt ()
    22. function moment-timezone.fn.isAfter (input, units)
    23. function moment-timezone.fn.isBefore (input, units)
    24. function moment-timezone.fn.isBetween (from, to, units, inclusivity)
    25. function moment-timezone.fn.isDST ()
    26. function moment-timezone.fn.isDSTShifted ()
    27. function moment-timezone.fn.isLeapYear ()
    28. function moment-timezone.fn.isLocal ()
    29. function moment-timezone.fn.isSame (input, units)
    30. function moment-timezone.fn.isSameOrAfter (input, units)
    31. function moment-timezone.fn.isSameOrBefore (input, units)
    32. function moment-timezone.fn.isUTC ()
    33. function moment-timezone.fn.isUtc ()
    34. function moment-timezone.fn.isUtcOffset ()
    35. function moment-timezone.fn.isValid ()
    36. function moment-timezone.fn.isoWeek (input)
    37. function moment-timezone.fn.isoWeekYear (input)
    38. function moment-timezone.fn.isoWeekday (input)
    39. function moment-timezone.fn.isoWeeks (input)
    40. function moment-timezone.fn.isoWeeksInYear ()
    41. function moment-timezone.fn.lang ()
    42. function moment-timezone.fn.local (keepLocalTime)
    43. function moment-timezone.fn.locale (key)
    44. function moment-timezone.fn.localeData ()
    45. function moment-timezone.fn.max ()
    46. function moment-timezone.fn.millisecond (value)
    47. function moment-timezone.fn.milliseconds (value)
    48. function moment-timezone.fn.min ()
    49. function moment-timezone.fn.minute (value)
    50. function moment-timezone.fn.minutes (value)
    51. function moment-timezone.fn.month (value)
    52. function moment-timezone.fn.months ()
    53. function moment-timezone.fn.parseZone ()
    54. function moment-timezone.fn.parsingFlags ()
    55. function moment-timezone.fn.quarter (input)
    56. function moment-timezone.fn.quarters (input)
    57. function moment-timezone.fn.second (value)
    58. function moment-timezone.fn.seconds (value)
    59. function moment-timezone.fn.set (units, value)
    60. function moment-timezone.fn.startOf (units)
    61. function moment-timezone.fn.subtract (val, period)
    62. function moment-timezone.fn.to (time, withoutSuffix)
    63. function moment-timezone.fn.toArray ()
    64. function moment-timezone.fn.toDate ()
    65. function moment-timezone.fn.toISOString ()
    66. function moment-timezone.fn.toJSON ()
    67. function moment-timezone.fn.toNow (withoutSuffix)
    68. function moment-timezone.fn.toObject ()
    69. function moment-timezone.fn.toString ()
    70. function moment-timezone.fn.tz (name)
    71. function moment-timezone.fn.unix ()
    72. function moment-timezone.fn.utc ()
    73. function moment-timezone.fn.utcOffset (input, keepLocalTime, keepMinutes)
    74. function moment-timezone.fn.valueOf ()
    75. function moment-timezone.fn.week (input)
    76. function moment-timezone.fn.weekYear (input)
    77. function moment-timezone.fn.weekday (input)
    78. function moment-timezone.fn.weeks (input)
    79. function moment-timezone.fn.weeksInYear ()
    80. function moment-timezone.fn.year (value)
    81. function moment-timezone.fn.years ()
    82. function moment-timezone.fn.zone ()
    83. function moment-timezone.fn.zoneAbbr ()
    84. function moment-timezone.fn.zoneName ()
  5. module moment-timezone.moment_timezone
    1. boolean moment-timezone.moment_timezone.suppressDeprecationWarnings
    2. function moment-timezone.moment_timezone ()
    3. function moment-timezone.moment_timezone.ISO_8601 ()
    4. function moment-timezone.moment_timezone.RFC_2822 ()
    5. function moment-timezone.moment_timezone.calendarFormat (myMoment, now)
    6. function moment-timezone.moment_timezone.createFromInputFallback ()
    7. function moment-timezone.moment_timezone.defineLocale (name, config)
    8. function moment-timezone.moment_timezone.duration (input, key)
    9. function moment-timezone.moment_timezone.invalid (flags)
    10. function moment-timezone.moment_timezone.isDate (input)
    11. function moment-timezone.moment_timezone.isDuration (obj)
    12. function moment-timezone.moment_timezone.isMoment (obj)
    13. function moment-timezone.moment_timezone.lang ()
    14. function moment-timezone.moment_timezone.langData ()
    15. function moment-timezone.moment_timezone.locale (key, values)
    16. function moment-timezone.moment_timezone.localeData (key)
    17. function moment-timezone.moment_timezone.locales ()
    18. function moment-timezone.moment_timezone.max ()
    19. function moment-timezone.moment_timezone.min ()
    20. function moment-timezone.moment_timezone.months (format, index)
    21. function moment-timezone.moment_timezone.monthsShort (format, index)
    22. function moment-timezone.moment_timezone.normalizeUnits (units)
    23. function moment-timezone.moment_timezone.now ()
    24. function moment-timezone.moment_timezone.parseTwoDigitYear (input)
    25. function moment-timezone.moment_timezone.parseZone ()
    26. function moment-timezone.moment_timezone.relativeTimeRounding (roundingFunction)
    27. function moment-timezone.moment_timezone.relativeTimeThreshold (threshold, limit)
    28. function moment-timezone.moment_timezone.tz (input)
    29. function moment-timezone.moment_timezone.unix (input)
    30. function moment-timezone.moment_timezone.updateLocale (name, config)
    31. function moment-timezone.moment_timezone.updateOffset (mom, keepTime)
    32. function moment-timezone.moment_timezone.utc (input, format, locale, strict)
    33. function moment-timezone.moment_timezone.weekdays (localeSorted, format, index)
    34. function moment-timezone.moment_timezone.weekdaysMin (localeSorted, format, index)
    35. function moment-timezone.moment_timezone.weekdaysShort (localeSorted, format, index)
    36. object moment-timezone.moment_timezone.defaultZone
    37. object moment-timezone.moment_timezone.deprecationHandler
    38. object moment-timezone.moment_timezone.fn
    39. object moment-timezone.moment_timezone.momentProperties
    40. string moment-timezone.moment_timezone.defaultFormat
    41. string moment-timezone.moment_timezone.defaultFormatUtc
    42. string moment-timezone.moment_timezone.version
  6. module moment-timezone.tz
    1. boolean moment-timezone.tz.moveAmbiguousForward
    2. boolean moment-timezone.tz.moveInvalidForward
    3. function moment-timezone.tz (input)
    4. function moment-timezone.tz.Zone (packedString)
    5. function moment-timezone.tz.add (packed)
    6. function moment-timezone.tz.createLinks (source)
    7. function moment-timezone.tz.filterLinkPack (input, start, end)
    8. function moment-timezone.tz.filterYears (source, start, end)
    9. function moment-timezone.tz.guess (ignoreCache)
    10. function moment-timezone.tz.link (aliases)
    11. function moment-timezone.tz.load (data)
    12. function moment-timezone.tz.names ()
    13. function moment-timezone.tz.needsOffset (m)
    14. function moment-timezone.tz.pack (source)
    15. function moment-timezone.tz.packBase60 (number, precision)
    16. function moment-timezone.tz.setDefault (name)
    17. function moment-timezone.tz.unpack (string)
    18. function moment-timezone.tz.unpackBase60 (string)
    19. function moment-timezone.tz.zone (name, caller)
    20. function moment-timezone.tz.zoneExists (name)
    21. object moment-timezone.tz._links
    22. object moment-timezone.tz._names
    23. object moment-timezone.tz._zones
    24. string moment-timezone.tz.dataVersion
    25. string moment-timezone.tz.version
  7. module moment-timezone.tz.Zone
    1. function moment-timezone.tz.Zone (packedString)
  8. module moment-timezone.tz.Zone.prototype
    1. function moment-timezone.tz.Zone.prototype._index (timestamp)
    2. function moment-timezone.tz.Zone.prototype._set (unpacked)
    3. function moment-timezone.tz.Zone.prototype.abbr (mom)
    4. function moment-timezone.tz.Zone.prototype.offset (mom)
    5. function moment-timezone.tz.Zone.prototype.parse (timestamp)

module moment-timezone

function moment-timezone ()

function moment-timezone.ISO_8601 ()

function moment-timezone.RFC_2822 ()

function moment-timezone.calendarFormat (myMoment, now)

function moment-timezone.createFromInputFallback ()

function moment-timezone.defineLocale (name, config)

function moment-timezone.duration (input, key)

function moment-timezone.invalid (flags)

function moment-timezone.isDate (input)

function moment-timezone.isDuration (obj)

function moment-timezone.isMoment (obj)

function moment-timezone.lang ()

function moment-timezone.langData ()

function moment-timezone.locale (key, values)

function moment-timezone.localeData (key)

function moment-timezone.locales ()

function moment-timezone.max ()

function moment-timezone.min ()

function moment-timezone.moment_timezone ()

function moment-timezone.months (format, index)

function moment-timezone.monthsShort (format, index)

function moment-timezone.normalizeUnits (units)

function moment-timezone.now ()

function moment-timezone.parseTwoDigitYear (input)

function moment-timezone.parseZone ()

function moment-timezone.relativeTimeRounding (roundingFunction)

function moment-timezone.relativeTimeThreshold (threshold, limit)

function moment-timezone.tz (input)

function moment-timezone.tz.Zone (packedString)

function moment-timezone.unix (input)

function moment-timezone.updateLocale (name, config)

function moment-timezone.updateOffset (mom, keepTime)

function moment-timezone.utc (input, format, locale, strict)

function moment-timezone.weekdays (localeSorted, format, index)

function moment-timezone.weekdaysMin (localeSorted, format, index)

function moment-timezone.weekdaysShort (localeSorted, format, index)

module moment-timezone.duration

function moment-timezone.duration (input, key)

function moment-timezone.duration.invalid ()

module moment-timezone.duration.fn

function moment-timezone.duration.fn._bubble ()

function moment-timezone.duration.fn.abs ()

function moment-timezone.duration.fn.add (input, value)

function moment-timezone.duration.fn.as (units)

function moment-timezone.duration.fn.asDays ()

function moment-timezone.duration.fn.asHours ()

function moment-timezone.duration.fn.asMilliseconds ()

function moment-timezone.duration.fn.asMinutes ()

function moment-timezone.duration.fn.asMonths ()

function moment-timezone.duration.fn.asSeconds ()

function moment-timezone.duration.fn.asWeeks ()

function moment-timezone.duration.fn.asYears ()

function moment-timezone.duration.fn.days ()

function moment-timezone.duration.fn.get (units)

function moment-timezone.duration.fn.hours ()

function moment-timezone.duration.fn.humanize (withSuffix)

function moment-timezone.duration.fn.isValid ()

function moment-timezone.duration.fn.lang ()

function moment-timezone.duration.fn.locale (key)

function moment-timezone.duration.fn.localeData ()

function moment-timezone.duration.fn.milliseconds ()

function moment-timezone.duration.fn.minutes ()

function moment-timezone.duration.fn.months ()

function moment-timezone.duration.fn.seconds ()

function moment-timezone.duration.fn.subtract (input, value)

function moment-timezone.duration.fn.toISOString ()

function moment-timezone.duration.fn.toIsoString ()

function moment-timezone.duration.fn.toJSON ()

function moment-timezone.duration.fn.toString ()

function moment-timezone.duration.fn.valueOf ()

function moment-timezone.duration.fn.weeks ()

function moment-timezone.duration.fn.years ()

module moment-timezone.fn

function moment-timezone.fn.add (val, period)

function moment-timezone.fn.calendar (time, formats)

function moment-timezone.fn.clone ()

function moment-timezone.fn.creationData ()

function moment-timezone.fn.date (value)

function moment-timezone.fn.dates ()

function moment-timezone.fn.day (input)

function moment-timezone.fn.dayOfYear (input)

function moment-timezone.fn.days (input)

function moment-timezone.fn.daysInMonth ()

function moment-timezone.fn.diff (input, units, asFloat)

function moment-timezone.fn.endOf (units)

function moment-timezone.fn.format (inputString)

function moment-timezone.fn.from (time, withoutSuffix)

function moment-timezone.fn.fromNow (withoutSuffix)

function moment-timezone.fn.get (units)

function moment-timezone.fn.hasAlignedHourOffset (input)

function moment-timezone.fn.hour (value)

function moment-timezone.fn.hours (value)

function moment-timezone.fn.inspect ()

function moment-timezone.fn.invalidAt ()

function moment-timezone.fn.isAfter (input, units)

function moment-timezone.fn.isBefore (input, units)

function moment-timezone.fn.isBetween (from, to, units, inclusivity)

function moment-timezone.fn.isDST ()

function moment-timezone.fn.isDSTShifted ()

function moment-timezone.fn.isLeapYear ()

function moment-timezone.fn.isLocal ()

function moment-timezone.fn.isSame (input, units)

function moment-timezone.fn.isSameOrAfter (input, units)

function moment-timezone.fn.isSameOrBefore (input, units)

function moment-timezone.fn.isUTC ()

function moment-timezone.fn.isUtc ()

function moment-timezone.fn.isUtcOffset ()

function moment-timezone.fn.isValid ()

function moment-timezone.fn.isoWeek (input)

function moment-timezone.fn.isoWeekYear (input)

function moment-timezone.fn.isoWeekday (input)

function moment-timezone.fn.isoWeeks (input)

function moment-timezone.fn.isoWeeksInYear ()

function moment-timezone.fn.lang ()

function moment-timezone.fn.local (keepLocalTime)

function moment-timezone.fn.locale (key)

function moment-timezone.fn.localeData ()

function moment-timezone.fn.max ()

function moment-timezone.fn.millisecond (value)

function moment-timezone.fn.milliseconds (value)

function moment-timezone.fn.min ()

function moment-timezone.fn.minute (value)

function moment-timezone.fn.minutes (value)

function moment-timezone.fn.month (value)

function moment-timezone.fn.months ()

function moment-timezone.fn.parseZone ()

function moment-timezone.fn.parsingFlags ()

function moment-timezone.fn.quarter (input)

function moment-timezone.fn.quarters (input)

function moment-timezone.fn.second (value)

function moment-timezone.fn.seconds (value)

function moment-timezone.fn.set (units, value)

function moment-timezone.fn.startOf (units)

function moment-timezone.fn.subtract (val, period)

function moment-timezone.fn.to (time, withoutSuffix)

function moment-timezone.fn.toArray ()

function moment-timezone.fn.toDate ()

function moment-timezone.fn.toISOString ()

function moment-timezone.fn.toJSON ()

function moment-timezone.fn.toNow (withoutSuffix)

function moment-timezone.fn.toObject ()

function moment-timezone.fn.toString ()

function moment-timezone.fn.tz (name)

function moment-timezone.fn.unix ()

function moment-timezone.fn.utc ()

function moment-timezone.fn.utcOffset (input, keepLocalTime, keepMinutes)

function moment-timezone.fn.valueOf ()

function moment-timezone.fn.week (input)

function moment-timezone.fn.weekYear (input)

function moment-timezone.fn.weekday (input)

function moment-timezone.fn.weeks (input)

function moment-timezone.fn.weeksInYear ()

function moment-timezone.fn.year (value)

function moment-timezone.fn.years ()

function moment-timezone.fn.zone ()

function moment-timezone.fn.zoneAbbr ()

function moment-timezone.fn.zoneName ()

module moment-timezone.moment_timezone

function moment-timezone.moment_timezone ()

function moment-timezone.moment_timezone.ISO_8601 ()

function moment-timezone.moment_timezone.RFC_2822 ()

function moment-timezone.moment_timezone.calendarFormat (myMoment, now)

function moment-timezone.moment_timezone.createFromInputFallback ()

function moment-timezone.moment_timezone.defineLocale (name, config)

function moment-timezone.moment_timezone.duration (input, key)

function moment-timezone.moment_timezone.invalid (flags)

function moment-timezone.moment_timezone.isDate (input)

function moment-timezone.moment_timezone.isDuration (obj)

function moment-timezone.moment_timezone.isMoment (obj)

function moment-timezone.moment_timezone.lang ()

function moment-timezone.moment_timezone.langData ()

function moment-timezone.moment_timezone.locale (key, values)

function moment-timezone.moment_timezone.localeData (key)

function moment-timezone.moment_timezone.locales ()

function moment-timezone.moment_timezone.max ()

function moment-timezone.moment_timezone.min ()

function moment-timezone.moment_timezone.months (format, index)

function moment-timezone.moment_timezone.monthsShort (format, index)

function moment-timezone.moment_timezone.normalizeUnits (units)

function moment-timezone.moment_timezone.now ()

function moment-timezone.moment_timezone.parseTwoDigitYear (input)

function moment-timezone.moment_timezone.parseZone ()

function moment-timezone.moment_timezone.relativeTimeRounding (roundingFunction)

function moment-timezone.moment_timezone.relativeTimeThreshold (threshold, limit)

function moment-timezone.moment_timezone.tz (input)

function moment-timezone.moment_timezone.unix (input)

function moment-timezone.moment_timezone.updateLocale (name, config)

function moment-timezone.moment_timezone.updateOffset (mom, keepTime)

function moment-timezone.moment_timezone.utc (input, format, locale, strict)

function moment-timezone.moment_timezone.weekdays (localeSorted, format, index)

function moment-timezone.moment_timezone.weekdaysMin (localeSorted, format, index)

function moment-timezone.moment_timezone.weekdaysShort (localeSorted, format, index)

module moment-timezone.tz

function moment-timezone.tz (input)

function moment-timezone.tz.Zone (packedString)

function moment-timezone.tz.add (packed)

function moment-timezone.tz.createLinks (source)

function moment-timezone.tz.filterLinkPack (input, start, end)

function moment-timezone.tz.filterYears (source, start, end)

function moment-timezone.tz.guess (ignoreCache)

function moment-timezone.tz.link (aliases)

function moment-timezone.tz.load (data)

function moment-timezone.tz.names ()

function moment-timezone.tz.needsOffset (m)

function moment-timezone.tz.pack (source)

function moment-timezone.tz.packBase60 (number, precision)

function moment-timezone.tz.setDefault (name)

function moment-timezone.tz.unpack (string)

function moment-timezone.tz.unpackBase60 (string)

function moment-timezone.tz.zone (name, caller)

function moment-timezone.tz.zoneExists (name)

module moment-timezone.tz.Zone

function moment-timezone.tz.Zone (packedString)

module moment-timezone.tz.Zone.prototype

function moment-timezone.tz.Zone.prototype._index (timestamp)

function moment-timezone.tz.Zone.prototype._set (unpacked)

function moment-timezone.tz.Zone.prototype.abbr (mom)

function moment-timezone.tz.Zone.prototype.offset (mom)

function moment-timezone.tz.Zone.prototype.parse (timestamp)

[ this document was created with utility2 ]