B4XCollections is a b4x lib. It adds several cross platform collections. It includes a static module named B4XCollections which should be used to create new instances of the collections. You can either create new empty collections or pass the initial data. B4XSet - A set is a collection of...
Depends on DateUtils and B4XCollections: Sub CountSpecificDaysInMonth (Year As Int, Month As Int, RelevantDays As B4XSet) As Int Dim day As Long = DateUtils.SetDate(Year, Month, 1) Dim p As Period p.Days = 1 Dim total As Int Do While DateTime.GetMonth(day) = Month If...