Big Date Digit Carry Calculator

Actualbig-date decimaldaycarry/independentlyestablishedmonthendreset,not watchsettinginstructions.

Description

A big-date display changes its decimal tens digit at some daily increments and resets at the supplied month end.

A big-date display changes its decimal tens digit at some daily increments and resets at the supplied month end.1

The month length must be established before simulating the next displayed day.

When to use Big Date Digit Carry Calculator

Use this tool to apply the stated big date digit carry calculator operation with an explicit input and unit basis.

How to use Big Date Digit Carry Calculator and how it works

  1. Establish the measurement basis and units described above.
  2. Enter actualCurrentDateDay, callerActualDaysInDisplayedMonth and run the tool.
  3. Read result.nextDay, result.tensDigitCarries, result.monthReset using the output meanings below.
  4. If input is rejected, correct the stated type, range, ordering or alignment issue and rerun; review successful results under the declared convention.
Input fieldMeaningValue typeRequirement
actualCurrentDateDayCurrent date day, on the basis specified in the algorithm.numberrequired; finite; integer from 1 to callerActualDaysInDisplayedMonth; further conditions in the algorithm
callerActualDaysInDisplayedMonthDays in displayed month, on the basis specified in the algorithm.numberrequired; finite; integer from 28 to 31; further conditions in the algorithm

Require integer month length 28–31 and day 1–month length. Reset to one at month end; otherwise increment and flag a change in the tens digit.

next = month end ? 1 : day + 1

Apply the declared units, ordering and branch conditions.

Output fieldMeaningValue type
resultObject containing the declared output fields.object
result.nextDayNext displayed day, resetting to one at the supplied month end.number
result.tensDigitCarriesTrue when a non-reset increment changes the decimal tens digit.boolean
result.monthResetTrue when the current day is the supplied month’s final day.boolean
json
{
  "input": {
    "actualCurrentDateDay": 19,
    "callerActualDaysInDisplayedMonth": 30
  },
  "output": {
    "result": {
      "nextDay": 20,
      "tensDigitCarries": true,
      "monthReset": false
    }
  }
}

Limitations and assumptions

The output applies the declared operation to the values you supply. Establish the measurement basis, units, coefficients and any caller-selected rules before interpreting it. The tool does not independently collect or verify observations or decide whether a model or reference applies.

Supply explicit required fields with the documented types and dense aligned arrays. Unknown fields, wrong types and nonfinite numbers are rejected. Branch-specific constraints are explained above. A successful false boolean, negative signed difference, empty slice or unresolved tie is distinct from an input error. Very large inputs or outputs may be rejected by shared resource limits.

Alternative or Complementary methods

For a related operation, use Perpetual Calendar Cycle Days Calculator. Gregorian leap rules repeat over a 400-year cycle.

For a related operation, use Flag Age in Years Calculator. Flag age can be expressed as completed adoption anniversaries instead of a simple difference between year numbers.

References

  1. Big Date Digit Carry Calculator — tool.io

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies