src/umbraco.presentation.xslt.Exslt/ExsltDatesAndTimes.cs
/// <summary>
/// Helper method uses local culture information. 
/// </summary>
/// <param name="d"></param>
/// <returns></returns>
Helper method uses local culture information.
Helper method uses local culture information .
private static double weekinyear(DateTime d){
		Calendar calendar = CultureInfo.CurrentCulture.Calendar; 
		return calendar.GetWeekOfYear(d,CultureInfo.CurrentCulture.DateTimeFormat.CalendarWeekRule, 
										CultureInfo.CurrentCulture.DateTimeFormat.FirstDayOfWeek); 
		}
private static double weekinyear ( DateTime d ) { Calendar calendar = CultureInfo . CurrentCulture . Calendar ; return calendar . GetWeekOfYear ( d , CultureInfo . CurrentCulture . DateTimeFormat . CalendarWeekRule , CultureInfo . CurrentCulture . DateTimeFormat . FirstDayOfWeek ) ; }
Helper method uses local culture information.
Helper method uses local culture information .
None
d
DateTime
None