Home > Contents > Index > 
Expanded TOC | Accordion TOC | Annotated TOC | Index 
ICS.SearchDateToNative
Converts a date string formatted in Java SQL to the date format native to the search engine.
Syntax
public boolean SearchDateToNative(String sDate, StringBuffer sbOut, String sEngine, String sCharset, StringBuffer sbError)Parameters
sDate- The date to convert.
 
sbOut- Buffer where the converted string will be returned.
 
sEngine- Search engine name. If
 null, the value of the Content Server property,cs.searchengine, is used.
sCharset- Constant value representing the character set the index uses.
 
- For the AltaVista search engine, this value can be 0, 1, or 2 (ISO_LATIN1, ASCII8, or UTF8). If
 sCharSetisnull, Content Server uses the value ofav.charsetin the properties file.- For the Verity search engine, this value specifies the name of the subdirectory of the common directory where the locale is defined. If
 sCharSetisnull, Content Server uses the value ofverity.charsetin the properties file.sbError- For return values; may contain error information.
 
Returns
Returns
trueon success,falseon failure.Errno
Use GetErrno (), and see Appendix A, "Error Conditions," for the possible
errnovalues.
Home > Contents > Index > ![]()
FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.