<?php

namespace App\Services;

class PersianDateService
{
    public function referenceYear(): int
    {
        return (int) config('daneshyar.jalali_reference_year', 1405);
    }

    public function normalize(?string $jalaliDate): ?string
    {
        return $jalaliDate ? trim($jalaliDate) : null;
    }
}
