Pebble App Framework
v7.1.1
How It Works
CLI
Device API
Phone API
C Coverage
TS Coverage
GitHub
Theme
Pebble App Framework: Device API
Toggle main menu visibility
Loading...
Searching...
No Matches
progress.h
Go to the documentation of this file.
1
19
#pragma once
20
25
33
int
progress_hour_pct
(
int
min,
int
sec);
34
43
int
progress_day_pct
(
int
hour,
int
min,
int
sec);
44
56
int
progress_week_pct
(
int
wday,
int
week_start,
int
hour,
int
min,
int
sec);
57
68
int
progress_year_pct
(
int
year,
int
yday,
int
hour,
int
min,
int
sec);
69
78
int
progress_week_day
(
int
wday,
int
week_start);
79
progress_hour_pct
int progress_hour_pct(int min, int sec)
How far through the current hour it is.
Definition
progress.c:74
progress_day_pct
int progress_day_pct(int hour, int min, int sec)
How far through the current day it is.
Definition
progress.c:79
progress_year_pct
int progress_year_pct(int year, int yday, int hour, int min, int sec)
How far through the current year it is, with February getting its leap day.
Definition
progress.c:90
progress_week_pct
int progress_week_pct(int wday, int week_start, int hour, int min, int sec)
How far through the current week it is, counting from the day the week starts on.
Definition
progress.c:84
progress_week_day
int progress_week_day(int wday, int week_start)
How many days the week has run, counting the first day as day 1.
Definition
progress.c:67
src
c
core
clock
progress.h
Generated by
1.18.0