<?php

namespace App\Services\Directory;

use Illuminate\Support\CarbonImmutable;

class EntraGroupSelection
{
    public const KEY_ALL_GROUPS_V1 = 'groups-v1:all';

    public static function allGroupsV1(): string
    {
        return self::KEY_ALL_GROUPS_V1;
    }

    public static function scheduledSlotKey(CarbonImmutable $nowUtc): string
    {
        return $nowUtc->format('YmdHi').'Z';
    }
}
