summaryrefslogtreecommitdiff
path: root/tools/source/datetime/tdate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/datetime/tdate.cxx')
-rw-r--r--tools/source/datetime/tdate.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/source/datetime/tdate.cxx b/tools/source/datetime/tdate.cxx
index 2cb3ab048cca..d1a6c9461fda 100644
--- a/tools/source/datetime/tdate.cxx
+++ b/tools/source/datetime/tdate.cxx
@@ -232,10 +232,10 @@ sal_uInt16 Date::GetWeekOfYear( DayOfWeek eStartDay,
// x_monday - thursday
if ( n1WDay < nMinimumNumberOfDaysInWeek )
nWeek = 1;
- // friday
+ // Friday
else if ( n1WDay == nMinimumNumberOfDaysInWeek )
nWeek = 53;
- // saturday
+ // Saturday
else if ( n1WDay == nMinimumNumberOfDaysInWeek + 1 )
{
// Year after leapyear
@@ -244,7 +244,7 @@ sal_uInt16 Date::GetWeekOfYear( DayOfWeek eStartDay,
else
nWeek = 52;
}
- // sunday
+ // Sunday
else
nWeek = 52;