public string Format(Offset value) { return(value == Offset.Zero ? "Z" : fullPattern.Format(value)); }
public string Format(Offset value) => value == Offset.Zero ? "Z" : fullPattern.Format(value);
/// <summary> /// Formats the given offset as text according to the rules of this pattern. /// </summary> /// <param name="value">The offset to format.</param> /// <returns>The offset formatted according to this pattern.</returns> public string Format(Offset value) { return(pattern.Format(value)); }