Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    The working-day calendar

    Which days count as working days, the legal holidays of 2026 and a worked count that skips 30 November 2026 and 1 December 2026.

    On this page

    A term counted in working days runs on Monday to Friday, except legal holidays. This page lists the holidays the gateway uses, shows how a count skips them and explains the working days left that every deadline carries.

    The legal holidays

    The legal holidays on a fixed date are 1 and 2 January, 6 and 7 January, 24 January, 1 May, 1 June, 15 August, 30 November, 1 December and 25 and 26 December. Good Friday, the first and second day of Easter and the first and second day of Pentecost are legal holidays. The calendar follows the Orthodox date of Easter. The Orthodox Easter Sunday of 2026 is 12 April 2026.

    getCalendar returns the holidays of a year, oldest first. The dates that follow Easter are computed for the year you ask for.

    curl

    curl "$RDC_BASE_URL/reges/v1/calendar?year=2026" \
      -H "Authorization: Bearer $RDC_TOKEN"

    JavaScript

    const response = await fetch(`${process.env.RDC_BASE_URL}/reges/v1/calendar?year=2026`, {
      method: 'GET',
      headers: {
        Authorization: `Bearer ${process.env.RDC_TOKEN}`,
      },
    });
    const result = await response.json();

    Python

    import os
    import requests
    
    response = requests.request(
        'GET',
        f'{os.environ["RDC_BASE_URL"]}/reges/v1/calendar?year=2026',
        headers={
            'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
        },
    )
    result = response.json()

    PHP

    <?php
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/reges/v1/calendar?year=2026');
    curl_setopt_array($curl, [
        CURLOPT_CUSTOMREQUEST => 'GET',
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_HTTPHEADER => [
            'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        ],
    ]);
    $result = json_decode(curl_exec($curl), true);
    curl_close($curl);

    C#

    using System.Net.Http.Headers;
    
    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/reges/v1/calendar?year=2026");
    request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
    var response = await client.SendAsync(request);
    var result = await response.Content.ReadAsStringAsync();

    Response 200

    {
      "year": 2026,
      "holidays": [
        "2026-01-01",
        "2026-01-02",
        "2026-01-06",
        "2026-01-07",
        "2026-01-24",
        "2026-04-10",
        "2026-04-12",
        "2026-04-13",
        "2026-05-01",
        "2026-05-31",
        "2026-06-01",
        "2026-08-15",
        "2026-11-30",
        "2026-12-01",
        "2026-12-25",
        "2026-12-26"
      ]
    }

    The holidays of 2026

    DateWeekdayFollows
    1 January 2026ThursdayFixed date
    2 January 2026FridayFixed date
    6 January 2026TuesdayFixed date
    7 January 2026WednesdayFixed date
    24 January 2026SaturdayFixed date
    10 April 2026FridayOrthodox Easter cycle
    12 April 2026SundayOrthodox Easter cycle
    13 April 2026MondayOrthodox Easter cycle
    1 May 2026FridayFixed date
    31 May 2026SundayOrthodox Easter cycle
    1 June 2026MondayA fixed date and the Orthodox Easter cycle
    15 August 2026SaturdayFixed date
    30 November 2026MondayFixed date
    1 December 2026TuesdayFixed date
    25 December 2026FridayFixed date
    26 December 2026SaturdayFixed date

    A holiday that falls on a weekend is not moved to another day.

    A worked count

    A change of salary takes effect on Monday 16 November 2026. It is due within 20 working days, and the day it takes effect is day one. 30 November 2026 and 1 December 2026 are holidays, so they do not count, and the last working day of the term is Tuesday 15 December 2026.

    WeekWorking days countedTotalHolidays skipped
    16 November 2026 – 22 November 202655–
    23 November 2026 – 29 November 2026510–
    30 November 2026 – 6 December 202631330 November 2026, 1 December 2026
    7 December 2026 – 13 December 2026518–
    14 December 2026 – 15 December 2026220–

    Ask the gateway for the same count with computeDeadline; it answers with the same date.

    A change of salary that takes effect on a chosen day

    curl

    curl "$RDC_BASE_URL/reges/v1/deadlines?kind=change-salary&date=2026-11-16" \
      -H "Authorization: Bearer $RDC_TOKEN"

    JavaScript

    const response = await fetch(`${process.env.RDC_BASE_URL}/reges/v1/deadlines?kind=change-salary&date=2026-11-16`, {
      method: 'GET',
      headers: {
        Authorization: `Bearer ${process.env.RDC_TOKEN}`,
      },
    });
    const result = await response.json();

    Python

    import os
    import requests
    
    response = requests.request(
        'GET',
        f'{os.environ["RDC_BASE_URL"]}/reges/v1/deadlines?kind=change-salary&date=2026-11-16',
        headers={
            'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
        },
    )
    result = response.json()

    PHP

    <?php
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/reges/v1/deadlines?kind=change-salary&date=2026-11-16');
    curl_setopt_array($curl, [
        CURLOPT_CUSTOMREQUEST => 'GET',
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_HTTPHEADER => [
            'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        ],
    ]);
    $result = json_decode(curl_exec($curl), true);
    curl_close($curl);

    C#

    using System.Net.Http.Headers;
    
    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/reges/v1/deadlines?kind=change-salary&date=2026-11-16");
    request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
    var response = await client.SendAsync(request);
    var result = await response.Content.ReadAsStringAsync();

    Response 200

    {
      "date": "2026-12-15",
      "rule": "salary",
      "from": "2026-11-16",
      "workingDaysLeft": 14
    }

    Working days left

    workingDaysLeft counts the working days after today up to and including the deadline. It is 0 when the deadline is today and negative when it has passed. Counted from Monday 23 November 2026, the change of salary above has 14 working days left, and the one due on Friday 20 November 2026 has -1: it is late.

    A negative value is the signal that an operation is late. See Late operations.