date_formatter_codespark 1.1.0 copy "date_formatter_codespark: ^1.1.0" to clipboard
date_formatter_codespark: ^1.1.0 copied to clipboard

A zero-dependency, ultra-lightweight Flutter package providing intuitive DateTime extensions.

1.1.0 #

  • Added isLastBusinessDayOfMonth for business day calculations.

1.0.0 #

  • Initial stable release.
  • Added toTimeAgo() for semantic relative human-readable time strings.
  • Added boundary evaluation flags (isToday, isYesterday, isTomorrow, isThisWeek).
  • Added high-frequency design layout presets (toDayAndMonth, toTime12Hour, toFullHumanDate).
  • Added precise countdown trackers (daysRemaining, hoursRemaining).
    • Business day math: isBusinessDay, addBusinessDays, subtractBusinessDays, isLastBusinessDayOfMonth
  • Week/year/quarter logic: weekOfYear, quarter, isQuarterStart, isQuarterEnd, startOfWeek, endOfWeek, startOfMonth, endOfMonth, startOfYear, endOfYear, isSameWeek, isSameMonth, isSameYear, daysInMonth, isFirstDayOfMonth, isLastDayOfMonth
  • Julian day support: toJulianDay, fromJulianDay
  • Advanced formatting: toIsoDateString, toIsoTimeString, toShortTimeString, toShortDateString, toRfc2822String
  • Utility flags: isLeapYear, isWeekend, isFuture, isPast, isUtc, toLocalOrUtc, withTimeZoneOffset, isWithin
  • Date math: copyWith, nextDay, previousDay, daysUntil, monthsBetween, yearsBetween, atTime
  • No breaking changes; all previous APIs remain.
  • All methods are documented with concise, AI-friendly doc comments and examples.
1
likes
150
points
12
downloads

Documentation

API reference

Publisher

verified publisherksaikiran.dev

Weekly Downloads

A zero-dependency, ultra-lightweight Flutter package providing intuitive DateTime extensions.

Topics

#date #datetime #time #utilities #formatting

License

MIT (license)

Dependencies

flutter

More

Packages that depend on date_formatter_codespark