Dates arithmetic with financial mathematic applications