@@ -107,9 +107,7 @@ public static class StrFTime
107107 /// <param name="culture">the CurrentCulture to be used when formatting</param>
108108 /// <returns>a string version of date-time matching pattern.</returns>
109109 public static string ToStrFTime ( this DateOnly dateOnly , string format , CultureInfo culture )
110- {
111- return ObjectToStrFTime ( dateOnly , format , culture ) ;
112- }
110+ => ObjectToStrFTime ( dateOnly , format , culture ) ;
113111
114112 /// <summary>
115113 /// Applies formatting consistent to the rules specified by the Ruby Time.strftime function.
@@ -125,9 +123,7 @@ public static string ToStrFTime(this DateOnly dateOnly, string format, CultureIn
125123 /// <param name="culture">the CurrentCulture to be used when formatting</param>
126124 /// <returns>a string version of date-time matching pattern.</returns>
127125 public static string ToStrFTime ( this TimeOnly timeOnly , string format , CultureInfo culture )
128- {
129- return ObjectToStrFTime ( timeOnly , format , culture ) ;
130- }
126+ => ObjectToStrFTime ( timeOnly , format , culture ) ;
131127#endif
132128
133129 /// <summary>
@@ -144,9 +140,7 @@ public static string ToStrFTime(this TimeOnly timeOnly, string format, CultureIn
144140 /// <param name="culture">the CurrentCulture to be used when formatting</param>
145141 /// <returns>a string version of date-time matching pattern.</returns>
146142 public static string ToStrFTime ( this DateTime dateTime , string format , CultureInfo culture )
147- {
148- return ObjectToStrFTime ( dateTime , format , culture ) ;
149- }
143+ => ObjectToStrFTime ( dateTime , format , culture ) ;
150144
151145 /// <summary>
152146 /// Formats a date using a ruby date format string
@@ -156,9 +150,7 @@ public static string ToStrFTime(this DateTime dateTime, string format, CultureIn
156150 /// <param name="culture">the CurrentCulture to be used when formatting</param>
157151 /// <returns>a string version of date-time matching pattern.</returns>
158152 public static string ToStrFTime ( this DateTimeOffset dateTimeOffset , string format , CultureInfo culture )
159- {
160- return ObjectToStrFTime ( dateTimeOffset , format , culture ) ;
161- }
153+ => ObjectToStrFTime ( dateTimeOffset , format , culture ) ;
162154
163155 private static string ObjectToStrFTime ( object source , string format , CultureInfo culture )
164156 {
0 commit comments