utils/


background.ts

Android foreground service task and notification permission helpers for continuous heat monitoring

backgroundIOS.ts

iOS background fetch task and HealthKit background delivery for continuous heat monitoring

forecastTime.ts

Normalizes date inputs to the UTC hour key used throughout the weather cache

global.d.ts

TypeScript ambient declarations for the global logging interface

localDay.ts

Converts dates to and from local-timezone day keys and computes day differences

logging.ts

Configures the global logging system with per-level file rotation and SQLite debug persistence

ndfdTime.ts

Builds local-time request windows for NDFD time-series API calls

sessionMonitor.ts

Manages the active monitoring session lifecycle across iOS and Android

tempUtils.ts

Temperature unit conversion and display formatting utilities

watchOS.ts

Sends the current core body temperature to a paired Apple Watch

WBGT_physics.ts

Physics-based solar radiation computation and unit conversion utilities for WBGT inputs

wearOS.ts

Sends core body temperature and history to a paired WearOS watch