GanttDateHelper class

Constructors

GanttDateHelper(GanttViewMode _viewMode, {GanttLocale? locale})

Properties

daysToShow int
no setter
hashCode int
The hash code for this object.
no setterinherited
locale GanttLocale
Set or update the locale
no getter
monthOffset int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startOfWeek DateTime
no setter
today DateTime
no setter
todayMidnight DateTime
no setter
viewEndDate DateTime
no setter
viewMode GanttViewMode
getter/setter pair
viewStartDate DateTime
no setter
weekOffset int
getter/setter pair

Methods

addMonths(DateTime date, int months) DateTime
daysInMonth(int year, int month) int
getViewDisplayStrings(BuildContext context) → ({String navPeriod, String rangeText})
Returns display strings for the header range and navigation tooltip
goToToday() → void
nextPeriod() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
previousPeriod() → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getDaysDifference(DateTime d1, DateTime d2) int
getWeekOfYear(DateTime date) int