quiver.time library
Classes
Constants
- aDay → const Duration
- 
          
          
  const Duration(days: 1)
- aMicrosecond → const Duration
- 
          
          
  const Duration(microseconds: 1)
- aMillisecond → const Duration
- 
          
          
  const Duration(milliseconds: 1)
- aMinute → const Duration
- 
          
          
  const Duration(minutes: 1)
- anHour → const Duration
- 
          
          
  const Duration(hours: 1)
- aSecond → const Duration
- 
          
          
  const Duration(seconds: 1)
- aWeek → const Duration
- 
          
          
  const Duration(days: 7)
Functions
- 
          clampDayOfMonth({int year, int month, int day }) → int 
- 
          Takes a datethat may be outside the allowed range of dates for a givenmonthin a givenyearand returns the closest date that is within the allowed range. [...]
- 
          daysInMonth(int year, int month) → int 
- Returns the number of days in the specified month. [...]
- 
          isLeapYear(int year) → bool 
- 
          Returns true if yearis a leap year. [...]
- 
          systemTime() → DateTime 
- Return current system time.
Typedefs
- 
          TimeFunction() → DateTime 
- Returns current time.