Chi2fit.Times.map2weekdays

You're seeing just the function map2weekdays, go back to Chi2fit.Times module for more information.

Specs

map2weekdays(t :: number(), sat :: pos_integer()) :: number()

Maps the date to weekdays such that weekends are eliminated; it does so with respect to a given Saturday

Example

iex> map2weekdays(43568.123,43566)
43566.123

iex> map2weekdays(43574.123,43566)
43571.123