datetime/nui_dt_util library
Classes
Functions
-
dateToString(
DateTime date, {String format = NUIDTUtil.FORMAT_yyyy_MM_dd_HH_mm_ss}) → String? -
endOfDay(
) → DateTime -
formatTime(
BuildContext context, TimeOfDay timeOfDay, {bool use24HourFormat = true}) → String -
startOfDay(
) → DateTime -
stringToDate(
String dateString, {String? dateFormat}) → DateTime?
Typedefs
- DateFiltering = bool Function(DateTime? date)
- DateSelectListener = void Function(DateTime? date)
- TimeSelectListener = void Function(TimeOfDay? time)