DateTimeType class final

The Polars Datetime type: a timestamp at a given unit.

Inheritance
  • Object
  • DType
  • DateTimeType

Constructors

DateTimeType(TimeUnit unit, {String? timeZone})
Creates a datetime type with unit resolution and optional timeZone.
const

Properties

capabilities → DTypeCapabilities
The operations that this binding supports for this type.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
kind → String
The protocol name of this type, such as int64 or list.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeZone → String?
The time zone name, or null for naive datetimes.
final
unit → TimeUnit
The timestamp resolution.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
Encodes this descriptor in the native protocol JSON form.
override
toString() → String
A string representation of this object.
inherited

Operators

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