Method SetDateResolution
SetDateResolution(DateTools.Resolution)
Gets or Sets the default date resolution used by RangeQueries for fields for which no specific date resolutions has been set. Field specific resolutions can be set with SetDateResolution(String, DateTools.Resolution).
Declaration
public virtual void SetDateResolution(DateTools.Resolution dateResolution)
Parameters
Type | Name | Description |
---|---|---|
DateTools.Resolution | dateResolution |
Implements
SetDateResolution(String, DateTools.Resolution)
Sets the date resolution used by RangeQueries for a specific field.
Declaration
public virtual void SetDateResolution(string fieldName, DateTools.Resolution dateResolution)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName | field for which the date resolution is to be set |
DateTools.Resolution | dateResolution | date resolution to set |