DateUtils class abstract

Constructors

DateUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

daysPerMonth(int year) List<int>
getMonth(DateTime? minDate, DateTime? maxDate, int monthPage, bool up, {bool startWeekWithSunday = false}) Month
generates a Month object from the Nth index from the startdate
getNoOfSpaceRequiredBeforeFirstValidDate(List<int> weekdaysToHide, int weekdayValueForFirstValidDay, [bool isSundayFirstDayOfWeek = false]) int
This method returns the number of spaces required before first valid based of the hidden weekdays. For example, if the first valid date falls on a Tuesday, that means that the weekday "monday" is hidden, which makes the first valid date index "1"
getWeekDay(DateTime _date, bool startWeekWithSunday) int
listOfValidDatesInMonth(Month month, List<int> weekdaysToHide) List<DateTime>