(#14) Remove whitespace on line spacing

This commit is contained in:
Oliver Booth 2021-03-07 18:02:32 +00:00
parent 937d701d14
commit 905bad1ffa
3 changed files with 8 additions and 7 deletions

View File

@ -18,7 +18,7 @@ namespace X10D.DateTimeExtensions
{
return ((DateTimeOffset)value).Age(asOf);
}
/// <inheritdoc cref="DateTimeOffsetExtensions.First(DateTimeOffset, DayOfWeek)" />
/// <returns>A <see cref="DateTime" /> representing the first occurence of <paramref name="dayOfWeek" />.</returns>
public static DateTime First(this DateTime value, DayOfWeek dayOfWeek)
@ -32,20 +32,21 @@ namespace X10D.DateTimeExtensions
{
return ((DateTimeOffset)value).FirstDayOfMonth().DateTime;
}
/// <inheritdoc cref="DateTimeOffsetExtensions.Last(DateTimeOffset, DayOfWeek)" />
/// <returns>A <see cref="DateTimeOffset" /> representing the final occurence of <paramref name="dayOfWeek" />.</returns>
public static DateTime Last(this DateTime value, DayOfWeek dayOfWeek)
{
return ((DateTimeOffset)value).Last(dayOfWeek).DateTime;
}
/// <inheritdoc cref="DateTimeOffsetExtensions.LastDayOfMonth(DateTimeOffset)" />
/// <returns>A <see cref="DateTimeOffset" /> representing the last day of the current month.</returns>
public static DateTime LastDayOfMonth(this DateTime value)
{
return ((DateTimeOffset)value).LastDayOfMonth().DateTime;
}
/// <inheritdoc cref="DateTimeOffsetExtensions.Next(DateTimeOffset, DayOfWeek)" />
/// <returns>A <see cref="DateTimeOffset" /> representing the next occurence of <paramref name="dayOfWeek" />.</returns>
public static DateTime Next(this DateTime value, DayOfWeek dayOfWeek)

View File

@ -30,7 +30,7 @@ namespace X10D.DateTimeExtensions
{
return (int)(((asOf.Date - TimeSpan.FromDays(1) - value.Date).TotalDays + 1) / 365.2425);
}
/// <summary>
/// Gets a date representing the first occurence of a specified day of the week in the current month.
/// </summary>
@ -58,7 +58,7 @@ namespace X10D.DateTimeExtensions
{
return value.AddDays(1 - value.Day);
}
/// <summary>
/// Gets a date representing the final occurence of a specified day of the week in the current month.
/// </summary>
@ -86,7 +86,7 @@ namespace X10D.DateTimeExtensions
var daysInMonth = DateTime.DaysInMonth(value.Year, value.Month);
return new DateTime(value.Year, value.Month, daysInMonth);
}
/// <summary>
/// Gets a date representing the next occurence of a specified day of the week in the current month.
/// </summary>

View File

@ -366,7 +366,7 @@ namespace X10D
}
}
}
/// <summary>
/// Parses a shorthand time span string (e.g. 3w 2d 1.5h) and converts it to an instance of
/// <see cref="TimeSpan" />.