Free time: six days or ten, on the convention you declare
Name the events that start and stop the clock, the weekdays your convention counts and the excluded dates. The same fifteen dates read six chargeable days or ten by the weekdays alone.
Accepted inputs
- Convention label
- Fictional inspection convention
- Event family
- Cargo dwell
- Trigger event label
- Example availability event
- Trigger event date
- 2026-01-01
- End event label
- Example release event
- End event date
- 2026-01-15
- Free days allowed
- 3
- Calendar rule label
- Visitor selected civil weekdays
- Counted weekdays, 1 is Monday
- 1, 2, 3, 4, 7
- The first day counted
- The trigger date itself
- The end date
- Include the end date
- Excluded date 1, Date
- 2026-01-04
- Excluded date 1, Your class
- Example free exclusion
- Excluded date 1, Effect on the clocks
- free
- Excluded date 2, Date
- 2026-01-08
- Excluded date 2, Your class
- Example charge exclusion
- Excluded date 2, Effect on the clocks
- charge
- Excluded date 3, Date
- 2026-01-09
- Excluded date 3, Your class
- Example combined exclusion
- Excluded date 3, Effect on the clocks
- both
- Excluded date 4, Date
- 2026-01-10
- Excluded date 4, Your class
- Example annotation only
- Excluded date 4, Effect on the clocks
- neither
- Your unit label
- unit
- Tier 1, From charge day
- 1
- Tier 1, Through charge day
- 2
- Tier 1, Rate
- 10.25
- Tier 2, From charge day
- 3
- Tier 2, Through charge day
- 4
- Tier 2, Rate
- 15.5
- Tier 3, From charge day
- 5
- Tier 3, Through charge day
- open
- Tier 3, Rate
- 20
- Every value came from the entered record
- yes
All results
- Calculation model
- visitorTypedCivilDayConventionV1
- Convention label
- Fictional inspection convention
- Event family
- Cargo dwell
- Trigger event label
- Example availability event
- Trigger event date
- 2026-01-01
- End event label
- Example release event
- End event date
- 2026-01-15
- Free days allowed
- 3
- Calendar rule label
- Visitor selected civil weekdays
- Counted weekdays, 1 is Monday
- 1, 2, 3, 4, 7
- The first day counted
- The trigger date itself
- The end date
- Include the end date
- Dates you excluded
- 2026-01-04, Example free exclusion, free; 2026-01-08, Example charge exclusion, charge; 2026-01-09, Example combined exclusion, both; 2026-01-10, Example annotation only, neither
- free time ends
- 2026-01-06
- first charge day
- 2026-01-07
- the whole count of chargeable days
- 6
- Free days consumed
- 3
- Free days unconsumed
- 0
- Your unit label
- unit
- Total
- Total decimal
- 91.500000000000
- Decimal places
- 12
- Your tiers
- 1
- From
- 1
- Through
- 2
- Rate
- 10.25
- Days counted
- 2
- Subtotal
- 20.5
- Exact
- Rate exact
- Subtotal decimal
- 20.500000000000
- 2
- From
- 3
- Through
- 4
- Rate
- 15.5
- Days counted
- 2
- Subtotal
- 31
- Exact
- 31
- Rate exact
- Subtotal decimal
- 31.000000000000
- 3
- From
- 5
- Through
- open
- Rate
- 20
- Days counted
- 2
- Subtotal
- 40
- Exact
- 40
- Rate exact
- 20
- Subtotal decimal
- 40.000000000000
Tier From Through Rate Days counted Subtotal Exact Rate exact Subtotal decimal 1 1 2 10.25 2 20.5 20.500000000000 2 3 4 15.5 2 31 31 31.000000000000 3 5 open 20 2 40 40 20 40.000000000000 - The ledger
- 2026-01-01
- ISO weekday
- 4
- Selected
- yes
- Class
- none
- Effect
- none
- State
- free counted
- Reasons
- none
- Free ordinal
- 1
- Free remaining
- 2
- Charge ordinal
- none
- Tier
- none
- Amount exact
- none
- 2026-01-02
- ISO weekday
- 5
- Selected
- no
- Class
- none
- Effect
- none
- State
- free excluded
- Reasons
- weekday not selected
- Free ordinal
- none
- Free remaining
- 2
- Charge ordinal
- none
- Tier
- none
- Amount exact
- none
- 2026-01-03
- ISO weekday
- 6
- Selected
- no
- Class
- none
- Effect
- none
- State
- free excluded
- Reasons
- weekday not selected
- Free ordinal
- none
- Free remaining
- 2
- Charge ordinal
- none
- Tier
- none
- Amount exact
- none
- 2026-01-04
- ISO weekday
- 7
- Selected
- yes
- Class
- Example free exclusion
- Effect
- free
- State
- free excluded
- Reasons
- typed date class
- Free ordinal
- none
- Free remaining
- 2
- Charge ordinal
- none
- Tier
- none
- Amount exact
- none
- 2026-01-05
- ISO weekday
- 1
- Selected
- yes
- Class
- none
- Effect
- none
- State
- free counted
- Reasons
- none
- Free ordinal
- 2
- Free remaining
- 1
- Charge ordinal
- none
- Tier
- none
- Amount exact
- none
- 2026-01-06
- ISO weekday
- 2
- Selected
- yes
- Class
- none
- Effect
- none
- State
- free counted
- Reasons
- none
- Free ordinal
- 3
- Free remaining
- 0
- Charge ordinal
- none
- Tier
- none
- Amount exact
- none
- 2026-01-07
- ISO weekday
- 3
- Selected
- yes
- Class
- none
- Effect
- none
- State
- charge counted
- Reasons
- none
- Free ordinal
- none
- Free remaining
- 0
- Charge ordinal
- 1
- Tier
- 1
- Amount exact
- 2026-01-08
- ISO weekday
- 4
- Selected
- yes
- Class
- Example charge exclusion
- Effect
- charge
- State
- charge excluded
- Reasons
- typed date class
- Free ordinal
- none
- Free remaining
- 0
- Charge ordinal
- none
- Tier
- none
- Amount exact
- none
- 2026-01-09
- ISO weekday
- 5
- Selected
- no
- Class
- Example combined exclusion
- Effect
- both
- State
- charge excluded
- Reasons
- weekday not selected, typed date class
- Free ordinal
- none
- Free remaining
- 0
- Charge ordinal
- none
- Tier
- none
- Amount exact
- none
- 2026-01-10
- ISO weekday
- 6
- Selected
- no
- Class
- Example annotation only
- Effect
- neither
- State
- charge excluded
- Reasons
- weekday not selected
- Free ordinal
- none
- Free remaining
- 0
- Charge ordinal
- none
- Tier
- none
- Amount exact
- none
- 2026-01-11
- ISO weekday
- 7
- Selected
- yes
- Class
- none
- Effect
- none
- State
- charge counted
- Reasons
- none
- Free ordinal
- none
- Free remaining
- 0
- Charge ordinal
- 2
- Tier
- 1
- Amount exact
- 2026-01-12
- ISO weekday
- 1
- Selected
- yes
- Class
- none
- Effect
- none
- State
- charge counted
- Reasons
- none
- Free ordinal
- none
- Free remaining
- 0
- Charge ordinal
- 3
- Tier
- 2
- Amount exact
- 2026-01-13
- ISO weekday
- 2
- Selected
- yes
- Class
- none
- Effect
- none
- State
- charge counted
- Reasons
- none
- Free ordinal
- none
- Free remaining
- 0
- Charge ordinal
- 4
- Tier
- 2
- Amount exact
- 2026-01-14
- ISO weekday
- 3
- Selected
- yes
- Class
- none
- Effect
- none
- State
- charge counted
- Reasons
- none
- Free ordinal
- none
- Free remaining
- 0
- Charge ordinal
- 5
- Tier
- 3
- Amount exact
- 20
- 2026-01-15
- ISO weekday
- 4
- Selected
- yes
- Class
- none
- Effect
- none
- State
- charge counted
- Reasons
- none
- Free ordinal
- none
- Free remaining
- 0
- Charge ordinal
- 6
- Tier
- 3
- Amount exact
- 20
Date ISO weekday Selected Class Effect State Reasons Free ordinal Free remaining Charge ordinal Tier Amount exact 2026-01-01 4 yes none none free counted none 1 2 none none none 2026-01-02 5 no none none free excluded weekday not selected none 2 none none none 2026-01-03 6 no none none free excluded weekday not selected none 2 none none none 2026-01-04 7 yes Example free exclusion free free excluded typed date class none 2 none none none 2026-01-05 1 yes none none free counted none 2 1 none none none 2026-01-06 2 yes none none free counted none 3 0 none none none 2026-01-07 3 yes none none charge counted none none 0 1 1 2026-01-08 4 yes Example charge exclusion charge charge excluded typed date class none 0 none none none 2026-01-09 5 no Example combined exclusion both charge excluded weekday not selected, typed date class none 0 none none none 2026-01-10 6 no Example annotation only neither charge excluded weekday not selected none 0 none none none 2026-01-11 7 yes none none charge counted none none 0 2 1 2026-01-12 1 yes none none charge counted none none 0 3 2 2026-01-13 2 yes none none charge counted none none 0 4 2 2026-01-14 3 yes none none charge counted none none 0 5 3 20 2026-01-15 4 yes none none charge counted none none 0 6 3 20
Sweep of Free days allowed
- The assumption
- Free days allowed
- Values sampled
- 0 to 12 free days, 13 values, step 1
- The answer
- 6 days
- Holds across
- 3 to 3 free days
- Nearest change
- 2 free days, where it becomes 7 days and 4 free days, where it becomes 5 days
- Reading the boundary
- The sweep samples only the values you entered. Between samples the answer is not checked, so read the boundary as observed, not proven.
Record fields
- Calculation version
- 1.0.0
- Calculation trace
- 1. Validate the declared labels, dates, weekday set, exclusions, tiers and exact rate strings.2. Scan eligible civil dates until the declared free day allowance has counted.3. Find the next selected date that the charge clock does not exclude.4. Rebuild every civil date from the trigger through the end event.5. Assign charge ordinals to contiguous tiers and add their exact fractions.
- Source anchor
- United States Federal Maritime Commission public detention and demurrage page. That published page establishes only that detention, demurrage and free time conventions exist.