Home
last modified time | relevance | path

Searched refs:DateType (Results 1 – 4 of 4) sorted by relevance

/third_party/flutter/flutter/packages/flutter_localizations/test/material/
Ddate_time_test.dart120 …Future<Map<DateType, String>> formatDate(WidgetTester tester, Locale locale, DateTime dateTime) as…
121 final Completer<Map<DateType, String>> completer = Completer<Map<DateType, String>>();
130 completer.complete(<DateType, String>{
131 DateType.year: localizations.formatYear(dateTime),
132 DateType.medium: localizations.formatMediumDate(dateTime),
133 DateType.full: localizations.formatFullDate(dateTime),
134 DateType.monthYear: localizations.formatMonthYear(dateTime),
143 …final Map<DateType, String> formatted = await formatDate(tester, const Locale('en'), DateTime(2018…
144 expect(formatted[DateType.year], '2018');
145 expect(formatted[DateType.medium], 'Wed, Aug 1');
[all …]
/third_party/python/Include/
Ddatetime.h160 PyTypeObject *DateType; member
206 #define PyDate_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->DateType)
207 #define PyDate_CheckExact(op) Py_IS_TYPE(op, PyDateTimeAPI->DateType)
224 PyDateTimeAPI->Date_FromDate(year, month, day, PyDateTimeAPI->DateType)
259 (PyObject*) (PyDateTimeAPI->DateType), args)
/third_party/python/Modules/
D_testcapimodule.c2584 PyDateTimeAPI->DateType); in get_date_fromdate()
2750 (PyObject *)PyDateTimeAPI->DateType, tsargs in get_date_fromtimestamp()
D_datetimemodule.c6487 capi->DateType = &PyDateTime_DateType; in get_datetime_capi()