From d79d88439e0e288825729396a3f7013c181b18fd Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Tue, 24 Apr 2012 12:48:59 +0000 Subject: [PATCH] Use the active voice in Javadoc comments for the first sentence. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1329681 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/commons/lang3/time/DateUtils.java | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/time/DateUtils.java b/src/main/java/org/apache/commons/lang3/time/DateUtils.java index 6c75da375..0e43e2df7 100644 --- a/src/main/java/org/apache/commons/lang3/time/DateUtils.java +++ b/src/main/java/org/apache/commons/lang3/time/DateUtils.java @@ -602,7 +602,7 @@ public class DateUtils { //----------------------------------------------------------------------- /** - * Convert a {@code Date} into a {@code Calendar}. + * Converts a {@code Date} into a {@code Calendar}. * * @param date the date to convert to a Calendar * @return the created Calendar @@ -617,7 +617,7 @@ public class DateUtils { //----------------------------------------------------------------------- /** - *

Round this date, leaving the field specified as the most + *

Rounds a date, leaving the field specified as the most * significant field.

* *

For example, if you had the date-time of 28 Mar 2002 @@ -653,7 +653,7 @@ public class DateUtils { } /** - *

Round this date, leaving the field specified as the most + *

Rounds a date, leaving the field specified as the most * significant field.

* *

For example, if you had the date-time of 28 Mar 2002 @@ -689,7 +689,7 @@ public class DateUtils { } /** - *

Round this date, leaving the field specified as the most + *

Rounds a date, leaving the field specified as the most * significant field.

* *

For example, if you had the date-time of 28 Mar 2002 @@ -731,7 +731,7 @@ public class DateUtils { //----------------------------------------------------------------------- /** - *

Truncate this date, leaving the field specified as the most + *

Truncates a date, leaving the field specified as the most * significant field.

* *

For example, if you had the date-time of 28 Mar 2002 @@ -756,7 +756,7 @@ public class DateUtils { } /** - *

Truncate this date, leaving the field specified as the most + *

Truncates a date, leaving the field specified as the most * significant field.

* *

For example, if you had the date-time of 28 Mar 2002 @@ -780,7 +780,7 @@ public class DateUtils { } /** - *

Truncate this date, leaving the field specified as the most + *

Truncates a date, leaving the field specified as the most * significant field.

* *

For example, if you had the date-time of 28 Mar 2002 @@ -810,7 +810,7 @@ public class DateUtils { //----------------------------------------------------------------------- /** - *

Ceil this date, leaving the field specified as the most + *

Gets a date ceiling, leaving the field specified as the most * significant field.

* *

For example, if you had the date-time of 28 Mar 2002 @@ -836,7 +836,7 @@ public class DateUtils { } /** - *

Ceil this date, leaving the field specified as the most + *

Gets a date ceiling, leaving the field specified as the most * significant field.

* *

For example, if you had the date-time of 28 Mar 2002 @@ -861,7 +861,7 @@ public class DateUtils { } /** - *

Ceil this date, leaving the field specified as the most + *

Gets a date ceiling, leaving the field specified as the most * significant field.

* *

For example, if you had the date-time of 28 Mar 2002 @@ -1039,7 +1039,7 @@ public class DateUtils { //----------------------------------------------------------------------- /** - *

This constructs an Iterator over each day in a date + *

Constructs an Iterator over each day in a date * range defined by a focus date and range style.

* *

For instance, passing Thursday, July 4, 2002 and a @@ -1072,7 +1072,7 @@ public class DateUtils { } /** - *

This constructs an Iterator over each day in a date + *

Constructs an Iterator over each day in a date * range defined by a focus date and range style.

* *

For instance, passing Thursday, July 4, 2002 and a @@ -1168,7 +1168,7 @@ public class DateUtils { } /** - *

This constructs an Iterator over each day in a date + *

Constructs an Iterator over each day in a date * range defined by a focus date and range style.

* *

For instance, passing Thursday, July 4, 2002 and a @@ -1595,7 +1595,7 @@ public class DateUtils { } /** - * Date-version for fragment-calculation in any unit + * Gets a Date fragment for any unit. * * @param date the date to work with, not null * @param fragment the Calendar field part of date to calculate @@ -1615,7 +1615,7 @@ public class DateUtils { } /** - * Calendar-version for fragment-calculation in any unit + * Gets a Calendar fragment for any unit. * * @param calendar the calendar to work with, not null * @param fragment the Calendar field part of calendar to calculate