Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var All = []rules.Rule{ Weekday(rules.Override), CasualDate(rules.Override), CasualTime(rules.Override), Deadline(rules.Override), Hour(rules.Override), HourMinute(rules.Override), }
View Source
var INTEGER_WORDS = map[string]int{
"час": 1,
"один": 1,
"одну": 1,
"одного": 1,
"два": 2,
"две": 2,
"три": 3,
"четыре": 4,
"пять": 5,
"шесть": 6,
"семь": 7,
"восемь": 8,
"девять": 9,
"десять": 10,
"одиннадцать": 11,
"двенадцать": 12,
}
View Source
var INTEGER_WORDS_PATTERN = `` /* 187-byte string literal not displayed */
View Source
var WEEKDAY_OFFSET = map[string]int{
"воскресенье": 0,
"воскресенья": 0,
"воск": 0,
"понедельник": 1,
"понедельнику": 1,
"понедельника": 1,
"пн": 1,
"вторник": 2,
"вторника": 2,
"вторнику": 2,
"вт": 2,
"среда": 3,
"среду": 3,
"среде": 3,
"ср": 3,
"четверг": 4,
"четверга": 4,
"четвергу": 4,
"чт": 4,
"пятница": 5,
"пятнице": 5,
"пятницы": 5,
"пятницу": 5,
"пт": 5,
"суббота": 6,
"субботы": 6,
"субботе": 6,
"субботу": 6,
"сб": 6,
}
View Source
var WEEKDAY_OFFSET_PATTERN = "" /* 412-byte string literal not displayed */
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.