[Arsperl-devel] ARSperl/html/manual ars_DateToJulianDate.html, NONE, 1.1 ars_GetClientCharSet.html,
Brought to you by:
jeffmurphy
From: Michiel B. <mb...@us...> - 2009-03-31 12:17:56
|
Update of /cvsroot/arsperl/ARSperl/html/manual In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv32576 Added Files: ars_DateToJulianDate.html ars_GetClientCharSet.html ars_GetServerCharSet.html Log Message: New manual files for calls added in ARSperl 1.92 --- NEW FILE: ars_GetClientCharSet.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> ARSperl Programmer's Manual </title> <style type="text/css"> /*<![CDATA[*/ dt.c1 {font-weight: bold} /*]]>*/ /*<![CDATA[*/ p.c1 {font-style: italic} /*]]>*/ </style> </head> <body> <h2> <code>ars_GetClientCharSet(control)</code> </h2>Retrieves a string that represents the name of the character set the client is using. The API assumes that all character data the client passes it is encoded in this character set, and returns all character data encoded in this character set. If this differs from the server charset (see <a href="ars_GetServerCharSet.html">ars_GetServerCharSet</a>), the API converts the data to the right character set.<br /> <dl> <dt class="c1"> On success </dt> <dd> Returns a string. </dd> <dt class="c1"> On failure </dt> <dd> Returns undef. </dd> </dl> <p> Example: </p> <pre> my $charset = ars_GetClientCharSet($ctrl);<br /> print "This client is using character set $charset\n";<br /> </pre> <p class="c1"> ars_GetClientCharSet was introduced in version 1.92 of ARSperl </p> <p> <a href="toc.html">Back to Table of Contents</a> </p> <address> Last changes to this page 30 March 2009 by mi...@be...<br /> </address> </body> </html> --- NEW FILE: ars_DateToJulianDate.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> ARSperl Programmer's Manual </title> <style type="text/css"> /*<![CDATA[*/ dt.c1 {font-weight: bold} p.c1 {font-style: italic} /*]]>*/ </style> </head> <body> <h2> <code>ars_DateToJulianDate(control, year, month, day)</code> </h2> <p> Converts a year, month, and day value to a Julian date. The Julian date is the number of days since noon, Universal Time, on January 1, 4713 BCE (on the Julian calendar). The changeover from the Julian calendar to the Gregorian calendar occurred in October, 1582. The Julian calendar is used for dates on or before October 4, 1582. The Gregorian calendar is used for dates on or after October 15, 1582. </p> <dl> <dt class="c1"> On success </dt> <dd> Returns an integer. </dd> <dt class="c1"> On failure </dt> <dd> Returns undef. </dd> </dl> <p> Example: </p> <pre> my $juliandate = ars_DateToJulianDate($ctrl, 1066, 10, 14); print "The Battle of Hastings was on October 14th, 1066.\n"; print "This is $juliandate days after January 1st, 4713 BCE.\n"; </pre> <p class="c1"> ars_DateToJulianDate was introduced in version 1.92 of ARSperl </p> <p> <a href="toc.html">Back to Table of Contents</a> </p> <address> Last changes to this page 30 March 2009 by mic...@gm...<br /> </address> </body> </html> --- NEW FILE: ars_GetServerCharSet.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> ARSperl Programmer's Manual </title> <style type="text/css"> /*<![CDATA[*/ dt.c1 {font-weight: bold} p.c1 {font-style: italic} /*]]>*/ </style> </head> <body> <h2> <code>ars_GetServerCharSet(control)</code> </h2>Retrieves a string that represents the name of the character set the API library uses to communicate with the server. If this differs from the client charset, the API converts the data to the right character set.<br /> <dl> <dt class="c1"> On success </dt> <dd> Returns a string. </dd> <dt class="c1"> On failure </dt> <dd> Returns undef. </dd> </dl> <p> Example: </p> <pre> my $charset = ars_GetServerCharSet($ctrl);<br /> print "This server is using character set $charset\n";<br /> </pre> <p class="c1"> ars_GetServerCharSet was introduced in version 1.92 of ARSperl </p> <p> <a href="toc.html">Back to Table of Contents</a> </p> <address> Last changes to this page 30 March 2009 by mi...@be...<br /> </address> </body> </html> |