Expand description
The CostOf.Life calculator library.
Provides functions to calculate the per diem cost of an expense over a time range.
Structs§
Enums§
- Cost
OfLife Error - Lifetime
- A time range with duration and repetition
Functions§
- cost_
of_ life - Compute the cost of life for a set of transactions
- costoflife_
greetings - A simple wasm function for testing
- costoflife_
per_ diem - Exposes the per diem calculation to wasm
- date
- Builds a date from day/month/year numeric
- date_
from_ str - Parse a date from string, it recognizes the formats
- now_
local - Returns the datetime with the local timezone
- parse_
amount - today
- Returns the current date