#nullable enable

using System;

namespace Radzen.Documents.Spreadsheet;

class YearFunction : DatePartFunctionBase
{
    public override string Name => "YEAR";

    protected override int GetPart(DateTime dateTime) => dateTime.Year;
}