This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
The following commit(s) were added to refs/heads/master by this push:
new cc1094e Lucene.Net.Documents.DateTools::StringToTime(string,
NumericRepresentation): Updated doc comments to indicate upgrade path for prior
Lucene.NET versions.
cc1094e is described below
commit cc1094e855e994dbfc904fc86edc30d0f8bf7398
Author: Shad Storhaug <[email protected]>
AuthorDate: Sat Feb 12 15:25:11 2022 +0700
Lucene.Net.Documents.DateTools::StringToTime(string,
NumericRepresentation): Updated doc comments to indicate upgrade path for prior
Lucene.NET versions.
---
src/Lucene.Net/Document/DateTools.cs | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/Lucene.Net/Document/DateTools.cs
b/src/Lucene.Net/Document/DateTools.cs
index 531c28c..0be286f 100644
--- a/src/Lucene.Net/Document/DateTools.cs
+++ b/src/Lucene.Net/Document/DateTools.cs
@@ -181,6 +181,9 @@ namespace Lucene.Net.Documents
/// <summary>
/// Converts a string produced by <see cref="TimeToString(long,
DateResolution, NumericRepresentation)"/> or
/// <see cref="DateToString(DateTime, DateResolution)"/> back to a
time, represented as a <see cref="long"/>.
+ /// <para/>
+ /// <b>NOTE:</b> For compatibility with Lucene.NET 3.0.3 and
Lucene.NET 4.8.0-beta00001 through 4.8.0-beta00015
+ /// specify <paramref name="outputRepresentation"/> as <see
cref="NumericRepresentation.TICKS"/>.
/// </summary>
/// <param name="dateString"> The date string to be converted. </param>
/// <param name="outputRepresentation">The numeric representation of
the return value.</param>