OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:locale_time
(Results
1 - 4
of
4
) sorted by null
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
_strptime.py
179
def __init__(self,
locale_time
=None):
185
if
locale_time
:
186
self.
locale_time
=
locale_time
188
self.
locale_time
= LocaleTime()
207
'A': self.__seqToRE(self.
locale_time
.f_weekday, 'A'),
208
'a': self.__seqToRE(self.
locale_time
.a_weekday, 'a'),
209
'B': self.__seqToRE(self.
locale_time
.f_month[1:], 'B'),
210
'b': self.__seqToRE(self.
locale_time
.a_month[1:], 'b'),
211
'p': self.__seqToRE(self.
locale_time
.am_pm, 'p')
[
all
...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
_strptime.py
179
def __init__(self,
locale_time
=None):
185
if
locale_time
:
186
self.
locale_time
=
locale_time
188
self.
locale_time
= LocaleTime()
207
'A': self.__seqToRE(self.
locale_time
.f_weekday, 'A'),
208
'a': self.__seqToRE(self.
locale_time
.a_weekday, 'a'),
209
'B': self.__seqToRE(self.
locale_time
.f_month[1:], 'B'),
210
'b': self.__seqToRE(self.
locale_time
.a_month[1:], 'b'),
211
'p': self.__seqToRE(self.
locale_time
.am_pm, 'p')
[
all
...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_strptime.py
114
self.
locale_time
= _strptime.LocaleTime()
119
self.assertTrue(pattern_string.find(self.
locale_time
.a_weekday[2]) != -1,
122
self.assertTrue(pattern_string.find(self.
locale_time
.f_weekday[4]) != -1,
139
found = self.time_re.compile(r"%A").match(self.
locale_time
.f_weekday[6])
140
self.assertTrue(found and found.group('A') == self.
locale_time
.f_weekday[6],
143
found = compiled.match("%s %s" % (self.
locale_time
.a_weekday[4],
144
self.
locale_time
.a_month[4]))
147
(compiled.pattern, "%s %s" % (self.
locale_time
.a_weekday[4],
148
self.
locale_time
.a_month[4])))
149
self.assertTrue(found.group('a') == self.
locale_time
.a_weekday[4] an
[
all
...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_strptime.py
114
self.
locale_time
= _strptime.LocaleTime()
119
self.assertTrue(pattern_string.find(self.
locale_time
.a_weekday[2]) != -1,
122
self.assertTrue(pattern_string.find(self.
locale_time
.f_weekday[4]) != -1,
139
found = self.time_re.compile(r"%A").match(self.
locale_time
.f_weekday[6])
140
self.assertTrue(found and found.group('A') == self.
locale_time
.f_weekday[6],
143
found = compiled.match("%s %s" % (self.
locale_time
.a_weekday[4],
144
self.
locale_time
.a_month[4]))
147
(compiled.pattern, "%s %s" % (self.
locale_time
.a_weekday[4],
148
self.
locale_time
.a_month[4])))
149
self.assertTrue(found.group('a') == self.
locale_time
.a_weekday[4] an
[
all
...]
Completed in 3317 milliseconds