Stdlib:datetime.rl3
Date and time patterns and predicates.
include <datetime.rl3>
Pattern | Description |
---|---|
HOURS_NUM | Matches numeric hours. Example: 00
|
MINUTES_NUM | Matches numeric minutes. Example: 54
|
SECONDS_NUM | Matches numeric seconds. Example: 45
|
DAY_OF_WEEK_SYMB_EN | Matches a day of week in English. Example: monday
|
DAY_OF_WEEK_SYMB_FR | Matches a day of week in French. Example: lundi
|
DAY_OF_WEEK_SYMB_DE | Matches a day of week in German. Example: montag
|
DAY_OF_WEEK_SYMB_IT | Matches a day of week in Italian. Example: lunedì
|
DAY_OF_WEEK_SYMB_ES | Matches a day of week in Spanish. Example: lunes
|
DAY_OF_WEEK_SYMB_UA | Matches a day of week in Ukrainian. Example: понеділок
|
DAY_OF_WEEK_SYMB | Matches a day of week in multiple languages |
DAY_OF_WEEK_ABBR_EN | Matches an abbreviated day of week in English. Example: mon
|
DAY_OF_WEEK_ABBR_FR | Matches an abbreviated day of week in French. Example: lun
|
DAY_OF_WEEK_ABBR_DE | Matches an abbreviated day of week in German. Example: die
|
DAY_OF_WEEK_ABBR_IT | Matches an abbreviated day of week in Italian. Example: mer
|
DAY_OF_WEEK_ABBR_ES | Matches an abbreviated day of week in Spanish. Example: mié
|
DAY_OF_WEEK_ABBR_UA | Matches an abbreviated day of week in Ukrainian. Example: пнд
|
DAY_OF_WEEK_ABBR | Matches an abbreviated day of week in multiple languages |
MONTH_NUM | Matches a numeric month. Example: 2
|
MONTH_NUM_2 | Matches a 2-digit month. Example: 02
|
MONTH_SYMB_EN | Matches a month in English. Example: january
|
MONTH_SYMB_FR | Matches a month in French. Example: janvier
|
MONTH_SYMB_DE | Matches a month in German. Example: januar
|
MONTH_SYMB_IT | Matches a month in Italian. Example: gennaio
|
MONTH_SYMB_ES | Matches a month in Spanish. Example: enero
|
MONTH_SYMB_UA | Matches a month in Ukrainian. Example: січень
|
MONTH_SYMB | Matches a month in multiple languages |
MONTH_ABBR_EN | Matches an abbreviated month in English. Example: jan
|
MONTH_ABBR_FR | Matches an abbreviated month in French. Example: janv
|
MONTH_ABBR_DE | Matches an abbreviated month in German. Example: märz
|
MONTH_ABBR_IT | Matches an abbreviated month in Italian. Example: genn
|
MONTH_ABBR_ES | Matches an abbreviated month in Spanish. Example: enero
|
MONTH_ABBR_UA | Matches an abbreviated month in Ukrainian. Example: січ
|
MONTH_ABBR | Matches an abbreviated month in multiple languages |
DAY_NUM | Matches a numeric day of month. Example: 3
|
DAY_NUM_2 | Matches a 2-digit day of month. Example: 03
|
DAY_SYMB | Matches a symbolic day of month. Example: 1st or first
|
YEAR | Matches a 4-digit year. Example: 2018
|
YEAR_RANGE | Matches a range of years. Example: 2014 - 2018 , 2014 to 2018 , or 2014 - present
|
DATE_STRONG | Matches a date (strong pattern). Example: 2018-09-28 , 14 March 2016 , or the Fourteenth of March, 2016
|
DATE_WEAK | Matches a date (weak pattern). Example: 22-02-79
|
DATE | Matches a date (strong or weak) |
TIME | Matches time. Example: 13:38:01
|
DATETIME | Matches date and time. Example: 2018-09-28 13:38:01
|
Back to RL3 StdLib