Table of Contents

Method NormalizeOrEmpty

Namespace
Oscova.Agents.Utils
Assembly
Oscova.Agents.dll

NormalizeOrEmpty(string?)

Normalizes a time-zone identifier to the platform-resolved identifier.

public static string NormalizeOrEmpty(string? timeZoneId)

Parameters

timeZoneId string?

A Windows or IANA time-zone identifier.

Returns

string

The resolved identifier, or an empty string when the input is blank or invalid.