929a8a4a27Reuse of "class ATBWeekDays": Description of a weekday: Mon-Sun. For holidays contains a type-flag to indicate such a day.Gerhard Hoffmann2024-09-02 16:41:26 +0200
80637260f3Utilities::IsYearPeriodActive(): Fix: take into account if start-date <= end-date or not. Otherwise check is wrong, and no valid year period is returned.Gerhard Hoffmann2024-08-21 15:35:03 +0200
9b524d63e5Add 'pop_allow_overpay' setting: set vai tariff-file if operpay is allowed.Gerhard Hoffmann2024-08-21 15:33:02 +0200
ae9a54bf02Added: pun_mutable: duration might be changed during runtime pun_round_to_next_24h_boundary duration has to be aligned with next possible 24h boundary pun_round_to_prev_24h_boundary duration has to be aligned with previous 24h boundary pun_align_with_timepoint duration has to be aligned with dedicated time pointGerhard Hoffmann2024-08-18 19:23:12 +0200
84dbfc7234GetTimeSteps(): compute time steps and duration values.Gerhard Hoffmann2024-08-15 21:41:09 +0200
48cc6b1302Minor: debug output. duartionUnit as signed int (to see errors in case it becomes negative).Gerhard Hoffmann2024-08-15 21:39:22 +0200
a6007ee89aGetTimeSteps(): Use condition pop_time_step_config == (int)ATBTimeStepConfig::TimeStepConfig::RECOMPUTE_SOME (set in tariff-file) to decide the alogorithm to compute time-steps.Gerhard Hoffmann2024-08-15 21:37:23 +0200
192a37d93f.GetTimeSteps(): pass parameters tariff, paymentOptionIndex and start_parking_time_);Gerhard Hoffmann2024-08-15 21:29:37 +0200
b17f77b22aAdd setting of max-price in case of degressive-tariff.Gerhard Hoffmann2024-08-15 21:28:49 +0200
0a32d60827Added parsing for new duration members and new prepaid-option.Gerhard Hoffmann2024-08-15 21:23:17 +0200
26a50fb972Add enum constant RECOMPUTE_SOME=3: some duration values have to be recomputed at runtime (to determine time steps).Gerhard Hoffmann2024-08-15 21:20:18 +0200
6ef57792ceAdd PrepaidOptionType. PrepaidType declared as deprecated.Gerhard Hoffmann2024-08-15 21:16:46 +0200
ec9f7d9262Introduce bew memebers to control the handling of duration objects (especially for GetTimeSteps() computation).Gerhard Hoffmann2024-08-15 21:14:57 +0200
a2c40fa32are-introduce prepay-option for backward compatibilityGerhard Hoffmann2024-08-15 21:13:25 +0200
18f2895250GetDurationFromCost(): Use pop_accumulate_durations, to decide if durations have to be summed up.Gerhard Hoffmann2024-08-13 15:34:20 +0200
fc78eff0a4compute_duration_for_parking_ticket(): Set ticket end time to 23:59 (instaed of 00:00:00).Gerhard Hoffmann2024-08-13 15:28:42 +0200
b303a59964GetTimeSteps(): use pop_accumulate_durations to properly compute time steps such that following functions comuting a price have the same behaviour.Gerhard Hoffmann2024-08-13 15:04:13 +0200
77ca6a4736Use computeBruttoDurationInSecs() to compute from durationInSecs (which is a netto-time) to corresponding brutto-time, and adapt inputDate according to that date.Gerhard Hoffmann2024-08-13 15:01:24 +0200
GetDurationFromCost(): Minor: changed some debug output.Gerhard Hoffmann2024-08-12 09:22:55 +0200
75c98c18adAdded: Calculator::computeBruttoDurationInSecs() and Calculator::computeBruttoDateTime() (based on it).Gerhard Hoffmann2024-08-13 14:55:05 +0200
compute_price_for_parking_ticket(): Use (netto_parking_time >= minutesUntilCarryOver) instead of (netto_parking_time > minutesUntilCarryOver), to correctly use interval limit.Gerhard Hoffmann2024-08-12 09:19:20 +0200
8d9119ac83Compute time steps using start_parking_time as parameter: Calculator::GetInstance().GetTimeSteps(tariff, paymentOptionIndex, start_parking_time);Gerhard Hoffmann2024-08-13 14:52:48 +0200
6d6615b81eGetDurationFromCost(): Minor: changed some debug output.Gerhard Hoffmann2024-08-12 09:22:55 +0200
eafbfd60c3compute_price_for_parking_ticket(): Use (netto_parking_time >= minutesUntilCarryOver) instead of (netto_parking_time > minutesUntilCarryOver), to correctly use interval limit.Gerhard Hoffmann2024-08-12 09:19:20 +0200
41fc924a7ccompute_price_for_parking_ticket(): Comute effective start time (jump over carry over time).Gerhard Hoffmann2024-08-12 09:18:20 +0200
Merge branch 'kleipeda-experimental' of /home/siegert/atbfs01entwicklung/Elektronik/PTU/git_bare_repos/libmobilisis-calc into kleipeda-experimental
2.3.99-14
Siegfried Siegert2024-08-02 14:37:42 +0200
0856f10ca9GetDurationFromCost(): Fix computation of end-time when pop_accumulate_durations is set in tariff-file.Gerhard Hoffmann2024-08-02 14:34:44 +0200
1023f6ede1GetPriceForTimeStep(): Use "pop_accumulate_durations" setting to sum up the durations. Otherwise time-step will not be found in time-step-list.Gerhard Hoffmann2024-08-02 11:12:07 +0200
36b3e85d1bGetCostFromDuration(): recompute timestep list to make sure that time step is found in it.Gerhard Hoffmann2024-08-02 11:11:20 +0200
b394ed46ccIn case end-parking-time ends with 00:00, set it to 23:59.Gerhard Hoffmann2024-08-02 11:09:20 +0200
4271c0fb31Fixed compute_next_timestep() for degressive tariff: compute_next_timestep() was actually never called for such a tariff.Gerhard Hoffmann2024-08-02 10:50:25 +0200
4bce854d77GetDurationFromCost(): Set durationInSecs in case 'pop_accumulate_prices' is not configured in tariff file.Gerhard Hoffmann2024-08-01 16:44:06 +0200
138221759bGetDurationFromCost(): Minor: removed some debug ouputGerhard Hoffmann2024-08-01 16:43:19 +0200
9cb7d4aea6compute_price_for_parking_ticket(): Added handling for prepaid and carry-over.Gerhard Hoffmann2024-08-01 16:04:57 +0200
cde490bab2compute_next_time_step(): Added handling with pop_plus_steps/pop_minus_steps: '+' usually takes more than one time step. '-' is usually 1.Gerhard Hoffmann2024-08-01 16:00:10 +0200
Merge branch 'kleipeda-experimental' of /home/siegert/atbfs01entwicklung/Elektronik/PTU/git_bare_repos/libmobilisis-calc into kleipeda-experimentalSiegfried Siegert2024-07-31 08:06:45 +0200
e4cb992aaeGetTimeSteps() for payment-method degressive. introduced for Valser Alm (location: Fane).Gerhard Hoffmann2024-07-30 15:39:55 +0200
589d89b73aCalculator::GetDurationFromCost(): Compute duration from cost for PaymentMethod::Degressive: introduced for Valser Alm (location: Fane).Gerhard Hoffmann2024-07-30 15:37:28 +0200
7536f89d75compute_duration_for_parking_ticket(): read prepaid-setting from tariff-file, if possible.Gerhard Hoffmann2024-07-30 15:32:58 +0200
9a6b2b195dget_minimal_parking_price(): compute this price dynamically according to settings in the tariff-file. Introduced for Fuchs (500) for Valser Alm (Location: Fane)Gerhard Hoffmann2024-07-30 15:29:47 +0200
Merge branch 'kleipeda-experimental' of /home/siegert/atbfs01entwicklung/Elektronik/PTU/git_bare_repos/libmobilisis-calc into kleipeda-experimentalSiegfried Siegert2024-07-30 10:02:57 +0200