simpleparse.common.calendar_names | index s:\sp\simpleparse\common\calendar_names.py |
Locale-specific calendar names (day-of-week and month-of-year)
These values are those returned by the calendar module. Available
productions:
locale_day_names
locale_day_names_uc
locale_day_names_lc
Names for the days of the week
locale_day_abbrs
locale_day_abbrs_uc
locale_day_abbrs_lc
Short-forms (3 characters normally) for
the days of the week.
locale_month_names
locale_month_names_uc
locale_month_names_lc
Names for the months of the year
locale_month_abbrs
locale_month_abbrs_uc
locale_month_abbrs_lc
Short-forms (3 characters normally) for
the months of the year
Interpreters:
MonthNameInterpreter
DayNameInterpreter
Both offer the ability to set an index other
than the default (of 1) for the first item in
the list.
Modules | ||||||
|
Classes | ||||||||||||||||||||||||||
|
Functions | ||
|
Data | ||
__file__ = r'S:\sp\simpleparse\common\calendar_names.pyc' __name__ = 'simpleparse.common.calendar_names' c = {'locale_day_abbrs': FirstOfGroup( children = [ Literal( ...l( value = 'Fri', ), ], ), 'locale_day_abbrs_lc': FirstOfGroup( children = [ Literal( ...l( value = 'fri', ), ], ), 'locale_day_abbrs_uc': FirstOfGroup( children = [ Literal( ...l( value = 'FRI', ), ], ), 'locale_day_names': FirstOfGroup( children = [ Literal( ... value = 'Friday', ), ], ), 'locale_day_names_lc': FirstOfGroup( children = [ Literal( ... value = 'friday', ), ], ), 'locale_day_names_uc': FirstOfGroup( children = [ Literal( ... value = 'FRIDAY', ), ], ), 'locale_month_abbrs': FirstOfGroup( children = [ Literal( ...eral( value = '', ), ], ), 'locale_month_abbrs_lc': FirstOfGroup( children = [ Literal( ...eral( value = '', ), ], ), 'locale_month_abbrs_uc': FirstOfGroup( children = [ Literal( ...eral( value = '', ), ], ), 'locale_month_names': FirstOfGroup( children = [ Literal( ...eral( value = '', ), ], ), ...} da = ['mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun'] dn = ['monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday'] ma = ['', 'jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec'] mn = ['', 'january', 'february', 'march', 'april', 'may', 'june', 'july', 'august', 'september', 'october', 'november', 'december'] |