Back to index

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

List of all members.

Static Public Attributes

string localeID = 'en_AU'
list dateSep = [ u'-', u'/' ]
list timeSep = [ u':' ]
list meridian = [ u'AM', u'PM' ]
 usesMeridian = True
 uses24 = False
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

en_AU 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 for Australia

Definition at line 146 of file parsedatetime_consts.py.


Member Data Documentation

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

Definition at line 179 of file parsedatetime_consts.py.

Definition at line 157 of file parsedatetime_consts.py.

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

Definition at line 227 of file parsedatetime_consts.py.

Definition at line 190 of file parsedatetime_consts.py.

Definition at line 156 of file parsedatetime_consts.py.

Definition at line 159 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 213 of file parsedatetime_consts.py.

Initial value:
[ u'january', u'february', u'march',
                      u'april',   u'may',      u'june',
                      u'july',    u'august',   u'september',
                      u'october', u'november', u'december',
                    ]

Definition at line 169 of file parsedatetime_consts.py.

Initial value:
{ 'specials':       'in|on|of|at',
                      'timeseperator':  ':',
                      'rangeseperator': '-',
                      'daysuffix':      'rd|st|nd|th',
                      'meridian':       'am|pm|a.m.|p.m.|a|p',
                      'qunits':         'h|m|s|d|w|m|y',
                      'now':            [ 'now' ],
                    }

Definition at line 203 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 236 of file parsedatetime_consts.py.

Initial value:
[ u'jan', u'feb', u'mar',
                      u'apr', u'may', u'jun',
                      u'jul', u'aug', u'sep',
                      u'oct', u'nov', u'dec',
                    ]

Definition at line 174 of file parsedatetime_consts.py.

Initial value:
[ u'mon', u'tues', u'wed',
                      u'thu', u'fri', u'sat', u'sun',
                    ]

Definition at line 166 of file parsedatetime_consts.py.

Initial value:
{ 'full':   'h:mm:ss a z',
                      'long':   'h:mm:ss a',
                      'medium': 'h:mm:ss a',
                      'short':  'h:mm a',
                    }

Definition at line 184 of file parsedatetime_consts.py.

Definition at line 158 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 193 of file parsedatetime_consts.py.

Definition at line 161 of file parsedatetime_consts.py.

Definition at line 160 of file parsedatetime_consts.py.

Initial value:
[ u'monday', u'tuesday', u'wednesday',
                      u'thursday', u'friday', u'saturday', u'sunday',
                    ]

Definition at line 163 of file parsedatetime_consts.py.


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