Back to index

moin  1.9.0~rc2
Static Public Attributes
MoinMoin.support.parsedatetime.parsedatetime_consts.pdtLocale_es Class Reference
Collaboration diagram for MoinMoin.support.parsedatetime.parsedatetime_consts.pdtLocale_es:
Collaboration graph
[legend]

List of all members.

Static Public Attributes

string localeID = 'es'
list dateSep = [ u'/' ]
list timeSep = [ u':' ]
list meridian = []
 usesMeridian = False
 uses24 = True
list Weekdays
list shortWeekdays
list Months
list shortMonths
dictionary dateFormats
dictionary timeFormats
list dp_order = [ u'd', u'm', u'y' ]
dictionary units
dictionary re_consts
dictionary modifiers
dictionary dayoffsets
dictionary re_sources

Detailed Description

es Locale constants

This class will be used to initialize L{Constants} if PyICU is not located.

Defined as class variables are the lists and strings needed by parsedatetime
to evaluate strings in Spanish

Note that I don't speak Spanish so many of the items below are still in English

Definition at line 249 of file parsedatetime_consts.py.


Member Data Documentation

Initial value:
{ 'full':   "EEEE d' de 'MMMM' de 'yyyy",
                      'long':   "d' de 'MMMM' de 'yyyy",
                      'medium': "dd-MMM-yy",
                      'short':  "d/MM/yy",
                    }

Definition at line 284 of file parsedatetime_consts.py.

Definition at line 262 of file parsedatetime_consts.py.

Initial value:
{ 'tomorrow':   1,
                   'today':      0,
                   'yesterday': -1,
                 }

Definition at line 332 of file parsedatetime_consts.py.

Definition at line 295 of file parsedatetime_consts.py.

Definition at line 261 of file parsedatetime_consts.py.

Definition at line 264 of file parsedatetime_consts.py.

Initial value:
{ 'from':      1,
                  'before':   -1,
                  'after':     1,
                  'ago':       1,
                  'prior':    -1,
                  'prev':     -1,
                  'last':     -1,
                  'next':      1,
                  'previous': -1,
                  'in a':      2,
                  'end of':    0,
                  'eo':        0,
                }

Definition at line 318 of file parsedatetime_consts.py.

Initial value:
[ u'enero', u'febrero', u'marzo',
                      u'abril', u'mayo', u'junio',
                      u'julio', u'agosto', u'septiembre',
                      u'octubre', u'noviembre', u'diciembre'
                    ]

Definition at line 274 of file parsedatetime_consts.py.

Initial value:
{ 'specials':       'in|on|of|at',
                      'timeseperator':  timeSep,
                      'dateseperator':  dateSep,
                      'rangeseperator': '-',
                      'daysuffix':      'rd|st|nd|th',
                      'qunits':         'h|m|s|d|w|m|y',
                      'now':            [ 'now' ],
                    }

Definition at line 308 of file parsedatetime_consts.py.

Initial value:
{ 'noon':      { 'hr': 12, 'mn': 0, 'sec': 0 },
                      'lunch':     { 'hr': 12, 'mn': 0, 'sec': 0 },
                      'morning':   { 'hr':  6, 'mn': 0, 'sec': 0 },
                      'breakfast': { 'hr':  8, 'mn': 0, 'sec': 0 },
                      'dinner':    { 'hr': 19, 'mn': 0, 'sec': 0 },
                      'evening':   { 'hr': 18, 'mn': 0, 'sec': 0 },
                      'midnight':  { 'hr':  0, 'mn': 0, 'sec': 0 },
                      'night':     { 'hr': 21, 'mn': 0, 'sec': 0 },
                      'tonight':   { 'hr': 21, 'mn': 0, 'sec': 0 },
                      'eod':       { 'hr': 17, 'mn': 0, 'sec': 0 },
                    }

Definition at line 341 of file parsedatetime_consts.py.

Initial value:
[ u'ene', u'feb', u'mar',
                      u'abr', u'may', u'jun',
                      u'jul', u'ago', u'sep',
                      u'oct', u'nov', u'dic'
                    ]

Definition at line 279 of file parsedatetime_consts.py.

Initial value:
[ u'lun', u'mar', u'mi\xe9',
                      u'jue', u'vie', u's\xe1b', u'dom',
                    ]

Definition at line 271 of file parsedatetime_consts.py.

Initial value:
{ 'full':   "HH'H'mm' 'ss z",
                      'long':   "HH:mm:ss z",
                      'medium': "HH:mm:ss",
                      'short':  "HH:mm",
                    }

Definition at line 289 of file parsedatetime_consts.py.

Definition at line 263 of file parsedatetime_consts.py.

Initial value:
{ 'seconds': [ 'second', 'sec' ],
              'minutes': [ 'minute', 'min' ],
              'hours':   [ 'hour',   'hr'  ],
              'days':    [ 'day',    'dy'  ],
              'weeks':   [ 'week',   'wk'  ],
              'months':  [ 'month',  'mth' ],
              'years':   [ 'year',   'yr'  ],
            }

Definition at line 298 of file parsedatetime_consts.py.

Definition at line 266 of file parsedatetime_consts.py.

Definition at line 265 of file parsedatetime_consts.py.

Initial value:
[ u'lunes', u'martes', u'mi\xe9rcoles',
                      u'jueves', u'viernes', u's\xe1bado', u'domingo',
                    ]

Definition at line 268 of file parsedatetime_consts.py.


The documentation for this class was generated from the following file: