Expand description
Handling of habit databases.
Enums§
- Result from the call to
add_category
- Result from the call to
hide_category
- Result of an update to a
DiaryDataConnection
instance.
Constants§
- Format of the dates used in the program.
Traits§
- Represents a connection to the diary database.
Functions§
- Create a new database on the prescribed path, using the prescribed headers.
- Calculates the date ranges according to the parameters. For example when
range_size == 30
,iters == 3
andfrom_date
is today, the result is a 3-element vector containing ranges of the last 30 days, the 30 days before that, and the 30 days before the latter one. - Tries to read data file to memory.