DateTimeFormatPartType(String)

package js.lib.intl

import js.lib.intl.DateTimeFormat

Available on js

Variables

inlineread onlyDay:DateTimeFormatPartType = "day"

The string used for the day, for example "17".

inlineread onlyDayPeriod:DateTimeFormatPartType = "dayPeriod"

The string used for the day period, for example, "AM" or "PM".

inlineread onlyEra:DateTimeFormatPartType = "era"

The string used for the era, for example "BC" or "AD".

inlineread onlyHour:DateTimeFormatPartType = "hour"

The string used for the hour, for example "3" or "03".

inlineread onlyLiteral:DateTimeFormatPartType = "literal"

The string used for separating date and time values, for example "/", ",", "o'clock", "de", etc.

inlineread onlyMinute:DateTimeFormatPartType = "minute"

The string used for the minute, for example "00".

inlineread onlyMonth:DateTimeFormatPartType = "month"

The string used for the month, for example "12".

inlineread onlySecond:DateTimeFormatPartType = "second"

The string used for the second, for example "07" or "42".

inlineread onlyTimeZoneName:DateTimeFormatPartType = "timeZoneName"

The string used for the name of the time zone, for example "UTC".

inlineread onlyWeekday:DateTimeFormatPartType = "weekday"

The string used for the weekday, for example "M", "Monday", or "Montag".

inlineread onlyYear:DateTimeFormatPartType = "year"

The string used for the year, for example "2012" or "96".

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/lib/intl/DateTimeFormatPartType.html