예제 #1
0
 public string Format(Offset value)
 {
     return(value == Offset.Zero ? "Z" : fullPattern.Format(value));
 }
예제 #2
0
 public string Format(Offset value) => value == Offset.Zero ? "Z" : fullPattern.Format(value);
예제 #3
0
 /// <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));
 }