Beispiel #1
0
 /// <summary>
 /// Formats the given local date as text according to the rules of this pattern.
 /// </summary>
 /// <param name="value">The local date to format.</param>
 /// <returns>The local date formatted according to this pattern.</returns>
 [NotNull] public string Format(LocalDate value) => UnderlyingPattern.Format(value);
Beispiel #2
0
 /// <summary>
 /// Formats the given year/month as text according to the rules of this pattern.
 /// </summary>
 /// <param name="value">The value to format.</param>
 /// <returns>The year/month formatted according to this pattern.</returns>
 public string Format(YearMonth value) => UnderlyingPattern.Format(value);
Beispiel #3
0
 /// <summary>
 /// Formats the given local time as text according to the rules of this pattern.
 /// </summary>
 /// <param name="value">The local time to format.</param>
 /// <returns>The local time formatted according to this pattern.</returns>
 public string Format(LocalTime value) => UnderlyingPattern.Format(value);
Beispiel #4
0
 /// <summary>
 /// Formats the given annual date as text according to the rules of this pattern.
 /// </summary>
 /// <param name="value">The annual date to format.</param>
 /// <returns>The annual date formatted according to this pattern.</returns>
 public string Format(AnnualDate value) => UnderlyingPattern.Format(value);