DateTimeIntervalType enum Null safety

Interval type of the DateTime and DateTimeCategory axis.

Inheritance

Constructors

DateTimeIntervalType()
const

Values

auto → const DateTimeIntervalType
  • DateTimeIntervalType.auto, will calculate interval based on the data points.
const DateTimeIntervalType(0)
years → const DateTimeIntervalType
  • DateTimeIntervalType.years, will consider interval as years.
const DateTimeIntervalType(1)
months → const DateTimeIntervalType
  • DateTimeIntervalType.months, will consider interval as months.
const DateTimeIntervalType(2)
days → const DateTimeIntervalType
  • DateTimeIntervalType.days, will consider interval as days.
const DateTimeIntervalType(3)
hours → const DateTimeIntervalType
  • DateTimeIntervalType.hours, will consider interval as hours.
const DateTimeIntervalType(4)
minutes → const DateTimeIntervalType
  • DateTimeIntervalType.minutes, will consider interval as minutes.
const DateTimeIntervalType(5)
seconds → const DateTimeIntervalType
  • DateTimeIntervalType.seconds, will consider interval as seconds.
const DateTimeIntervalType(6)
milliseconds → const DateTimeIntervalType
  • DateTimeIntervalType.milliseconds, will consider interval as milliseconds(ms).
const DateTimeIntervalType(7)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

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

Operators

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

Constants

values → const List<DateTimeIntervalType>
A constant List of the values in this enum, in order of their declaration.
[auto, years, months, days, hours, minutes, seconds, milliseconds]