Crate costoflife

Crate costoflife 

Source
Expand description

The CostOf.Life calculator library.

Provides functions to calculate the per diem cost of an expense over a time range.

Structs§

TxRecord

Enums§

CostOfLifeError
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