Aqueduct.SitecoreLib.Indexing.SearchIndexer.AddDateTimeKeywordIndexField C# (CSharp) 메소드

AddDateTimeKeywordIndexField() 보호된 메소드

protected AddDateTimeKeywordIndexField ( string fieldName, System.DateTime value ) : void
fieldName string
value System.DateTime
리턴 void
        protected void AddDateTimeKeywordIndexField(string fieldName, DateTime value)
        {
            // convert datetime to format yyyyMMddTHHmmss (eg. 22 Apr 2009 15:36:00 becomes 20090422T153600)
            _customFields.Add(CreateCustomIndexField(fieldName, string.Format(DateTimeIndexingFormat, value), false));
        }