DurationType class final

The Polars Duration type: an elapsed time at a given unit.

Inheritance
  • Object
  • DType
  • DurationType

Constructors

DurationType(TimeUnit unit)
Creates a duration type with unit resolution.
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
unit → TimeUnit
The duration 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