Searched refs:DateType (Results 1 – 4 of 4) sorted by relevance
/third_party/flutter/flutter/packages/flutter_localizations/test/material/ |
D | date_time_test.dart | 120 …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/ |
D | datetime.h | 160 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.c | 2584 PyDateTimeAPI->DateType); in get_date_fromdate() 2750 (PyObject *)PyDateTimeAPI->DateType, tsargs in get_date_fromtimestamp()
|
D | _datetimemodule.c | 6487 capi->DateType = &PyDateTime_DateType; in get_datetime_capi()
|