API Reference@grafana/data › DateTimeDuration

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;