Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
DateTimeDuration interface
Signature
export interface DateTimeDuration
Import
import { DateTimeDuration } from '@grafana/data';
Properties
Property | Type | Description |
---|---|---|
asHours | () => number | |
asSeconds | () => number | |
hours | () => number | |
minutes | () => number | |
seconds | () => number |
asHours property
Signature
asHours: () => number;
asSeconds property
Signature
asSeconds: () => number;
hours property
Signature
hours: () => number;
minutes property
Signature
minutes: () => number;
seconds property
Signature
seconds: () => number;