Description

This unmanage package can be used for Date calculation.

Default working day = 8.50 witch mean 8h 30 min. If you need to change it please go to custom setting find ‘Days Calculation Setting’ click on manage and add new ‘Working Day interval’ Click on ‘Save’ button.

Package Components

Apex Classes

Name

Description

DaysBetween

Class used to execute Date calculation depending on input params

DaysBetween_Test

Unit tests for DaysBetween apex class.

Lightning Aura Components

Name

Type

Description

DaysBetween

Lightning component

Component execute date calculation depending on input params:

  • Start Date

  • Interval - number

  • Time unit - Days, Weeks, Months, Years

  • End Date

Component can be added in utility bar or any other page.

Post installation steps

Step

Description

Add component to Utility Bar

  • Go to Setup->App->App Manager

  • Select App to which you want to add this component. We use ‘Litify_Matters_Lightning’

  • Click Edit button

  • In Lighting App Builder click on Utility Items

  • Click on Add Utility Item

  • Click on ‘Save’ Button.

Was this article helpful?
0 out of 0 found this helpful