Add isLeapYear, daysInMonth, clampDayOfMonth (dart-lang/clock#381)

This change extracts these functions to a new file, util.dart, applies a
bit of minor renaming and cleanup and makes them public.
1 file changed
tree: a44b34f66e56895eeafa6e0a19b3874da64ea733
  1. pkgs/