Expand description
Represention of a day as a set of times, entries, and durations.
Examples
use timelog::{Day, Entry, Result};
let mut day = Day::new("2021-07-02")?;
while let Some(entry) = entry_iter.next() {
day.add_entry(entry);
}
day.finish()?;
print!("{}", day.detail_report());
Description
The Day
type represents the entries of a particular day. It tracks projects and combines
time spent on the same task from multiple points in the day.
Day
also provides the ability to print various reports on the day’s
activities.
Re-exports
pub use report::DailyChart;
pub use report::DetailReport;
pub use report::EventReport;
pub use report::HoursReport;
pub use report::SummaryReport;
Modules
- Support for Day reports
Structs
- Type representing a day and all associated tasks
Functions
- Format duration information as a
String
of the formH:MM