@sports-alliance/sports-lib
Version:
A Library to for importing / exporting and processing GPX, TCX, FIT and JSON files from services such as Strava, Movescount, Garmin, Polar etc
15 lines (14 loc) • 489 B
TypeScript
import { DataNumber } from './data.number';
export declare class DataDuration extends DataNumber {
static type: string;
static unit: string;
/**
* Converts to hhh:mmm:ss:ms
* @todo should adopt and round depending if needed to show seconds or not
* @param showDays
* @param showSeconds
* @param showMilliseconds
*/
getDisplayValue(showDays?: boolean, showSeconds?: boolean, showMilliseconds?: boolean): string;
getDisplayUnit(): string;
}