mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 11:02:13 +08:00

* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
71 lines
1.4 KiB
Markdown
71 lines
1.4 KiB
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
# -----------------------------------------------------------------------
|
|
title = "DateTimeDuration"
|
|
keywords = ["grafana","documentation","sdk","@grafana/data"]
|
|
type = "docs"
|
|
+++
|
|
|
|
## DateTimeDuration interface
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
export interface DateTimeDuration
|
|
```
|
|
<b>Import</b>
|
|
|
|
```typescript
|
|
import { DateTimeDuration } from '@grafana/data';
|
|
```
|
|
<b>Properties</b>
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [asHours](#ashours-property) | <code>() => number</code> | |
|
|
| [asSeconds](#asseconds-property) | <code>() => number</code> | |
|
|
| [hours](#hours-property) | <code>() => number</code> | |
|
|
| [minutes](#minutes-property) | <code>() => number</code> | |
|
|
| [seconds](#seconds-property) | <code>() => number</code> | |
|
|
|
|
### asHours property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
asHours: () => number;
|
|
```
|
|
|
|
### asSeconds property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
asSeconds: () => number;
|
|
```
|
|
|
|
### hours property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
hours: () => number;
|
|
```
|
|
|
|
### minutes property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
minutes: () => number;
|
|
```
|
|
|
|
### seconds property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
seconds: () => number;
|
|
```
|