コード例 #1
0
 /// <summary>
 /// Converts the value of the current <see cref="OffsetTime"/> object to its equivalent string representation.
 /// </summary>
 /// <returns>String representation of this Point.</returns>
 public override string ToString()
 {
     return(TemporalHelpers.ToIsoTimeString(Hour, Minute, Second, Nanosecond) +
            TemporalHelpers.ToIsoTimeZoneOffset(OffsetSeconds));
 }
コード例 #2
0
 /// <summary>
 /// Converts the value of the current <see cref="ZoneOffset"/> object to its equivalent string representation.
 /// </summary>
 /// <returns>String representation of this Point.</returns>
 public override string ToString()
 {
     return(TemporalHelpers.ToIsoTimeZoneOffset(OffsetSeconds));
 }