Codeunit 8017 Date Time Management

Subscription Billing, Microsoft.SubscriptionBilling

Source AL, 52 lines

src/Apps/W1/Subscription Billing/App/Base/Codeunits/DateTimeManagement.Codeunit.allines 3 to 18 of 52, Copyright (c) Microsoft Corporation. MIT

codeunit 8017 "Date Time Management"{    procedure IsLastDayOfMonth(ThisDate: Date): Boolean    begin        exit(CalcDate('<CM>', ThisDate) = ThisDate);    end;    procedure MoveDateToLastDayOfMonth(var ThisDate: Date)    begin        ThisDate := CalcDate('<CM>', ThisDate)    end;    procedure GetNumberOfDecimals(UnitPrice: Decimal) NoOfDecimals: Integer    var        BreakLoop: Boolean;    begin

All 52 lines

Public procedures 5 in 29

IsLastDayOfMonth(ThisDate: Date): Booleannew in 26
MoveDateToLastDayOfMonth(var ThisDate: Date)new in 26
GetNumberOfDecimals(UnitPrice: Decimal): Integernew in 26
GetRoundingPrecision(NoOfDecimals: Integer): Decimalnew in 26
GetMaxDate(DateList: List of [Date]): Datenew in 26