diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-12-07 13:17:14 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-12-07 13:17:14 +0100 |
commit | 4875a3dd9b183dcd2256e2abfc4ccf7484c233b4 (patch) | |
tree | 0abbea881ded030851014ffdd60fbf71fead8f65 /docs/doxygen/latex/classxb_1_1xbDate.tex | |
parent | daf17154bf13139d9375f48525d19d6aaba08155 (diff) |
New upstream version 4.0.2upstream/4.0.2
Diffstat (limited to 'docs/doxygen/latex/classxb_1_1xbDate.tex')
-rw-r--r-- | docs/doxygen/latex/classxb_1_1xbDate.tex | 1029 |
1 files changed, 1029 insertions, 0 deletions
diff --git a/docs/doxygen/latex/classxb_1_1xbDate.tex b/docs/doxygen/latex/classxb_1_1xbDate.tex new file mode 100644 index 0000000..9001be4 --- /dev/null +++ b/docs/doxygen/latex/classxb_1_1xbDate.tex @@ -0,0 +1,1029 @@ +\hypertarget{classxb_1_1xbDate}{}\doxysection{xb\+::xb\+Date Class Reference} +\label{classxb_1_1xbDate}\index{xb::xbDate@{xb::xbDate}} + + +\mbox{\hyperlink{classxb_1_1xbDate}{xb\+Date}} class. + + + + +{\ttfamily \#include $<$xbdate.\+h$>$} + +Inheritance diagram for xb\+::xb\+Date\+:\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2.000000cm]{classxb_1_1xbDate} +\end{center} +\end{figure} +\doxysubsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\mbox{\hyperlink{classxb_1_1xbDate_ab3150e7db0ab5db10a07d748b55465eb}{xb\+Date}} () +\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item +\mbox{\hyperlink{classxb_1_1xbDate_ac8a4d9330221a3daee21b3c28c1d9719}{xb\+Date}} (const char $\ast$Date8) +\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item +\mbox{\hyperlink{classxb_1_1xbDate_acf4546f5681735ede18210f60bab68d4}{xb\+Date}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&Date8) +\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item +\mbox{\hyperlink{classxb_1_1xbDate_a7ab727a7ec184a086ad36ef83b948170}{xb\+Date}} (xb\+Int32 l\+Jul\+Date) +\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item +\mbox{\hyperlink{classxb_1_1xbDate_a05c9680c6eb9fe07ecf13a189b596c37}{$\sim$xb\+Date}} () +\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classxb_1_1xbDate_a2e33ad9415c32e820e08fd8084198690}{operator=}} (const \mbox{\hyperlink{classxb_1_1xbDate}{xb\+Date}} \&d) +\begin{DoxyCompactList}\small\item\em Set operator=. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classxb_1_1xbDate_a947ba156d04fe063aaa4c9964ae5d163}{operator+=}} (xb\+Int32 i) +\begin{DoxyCompactList}\small\item\em operator += \end{DoxyCompactList}\item +void \mbox{\hyperlink{classxb_1_1xbDate_a4a8f207d759540114373f5e9d6d375f7}{operator-\/=}} (xb\+Int32 i) +\begin{DoxyCompactList}\small\item\em operator -\/= \end{DoxyCompactList}\item +void \mbox{\hyperlink{classxb_1_1xbDate_a1c7d9e3718c43df18b21646072c8605e}{operator++}} (xb\+Int32 i) +\begin{DoxyCompactList}\small\item\em operator ++ \end{DoxyCompactList}\item +void \mbox{\hyperlink{classxb_1_1xbDate_ae2b33dfee60d324916d833b2098b5a6b}{operator-\/-\/}} (xb\+Int32 i) +\begin{DoxyCompactList}\small\item\em operator -- \end{DoxyCompactList}\item +xb\+Int32 \mbox{\hyperlink{classxb_1_1xbDate_a3f3a8802c96098c85aa8d0e19717a979}{operator-\/}} (const \mbox{\hyperlink{classxb_1_1xbDate}{xb\+Date}} \&) const +\begin{DoxyCompactList}\small\item\em operator -\/ \end{DoxyCompactList}\item +const char $\ast$ \mbox{\hyperlink{classxb_1_1xbDate_a73ff5c037046ac0a0bb7d73f74e25cbb}{operator-\/}} (xb\+Int32 i) +\begin{DoxyCompactList}\small\item\em operator -\/ \end{DoxyCompactList}\item +const char $\ast$ \mbox{\hyperlink{classxb_1_1xbDate_ad09609bf78cf038886a4f9cd19423f9c}{operator+}} (xb\+Int32 i) +\begin{DoxyCompactList}\small\item\em operator + \end{DoxyCompactList}\item +\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} \mbox{\hyperlink{classxb_1_1xbDate_aaaf98c1a672066021895f0953b6e94d0}{operator==}} (const \mbox{\hyperlink{classxb_1_1xbDate}{xb\+Date}} \&) const +\begin{DoxyCompactList}\small\item\em operator == \end{DoxyCompactList}\item +\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} \mbox{\hyperlink{classxb_1_1xbDate_ac3aaf8997fc0c36676085e7741f33a8a}{operator!=}} (const \mbox{\hyperlink{classxb_1_1xbDate}{xb\+Date}} \&) const +\begin{DoxyCompactList}\small\item\em operator != \end{DoxyCompactList}\item +\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} \mbox{\hyperlink{classxb_1_1xbDate_a11f09d97ed527e7ef00ba6f17b9fb02c}{operator$<$}} (const \mbox{\hyperlink{classxb_1_1xbDate}{xb\+Date}} \&) const +\begin{DoxyCompactList}\small\item\em operator \texorpdfstring{$<$}{<} \end{DoxyCompactList}\item +\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} \mbox{\hyperlink{classxb_1_1xbDate_a744031c4031d6ec4595d34acbd1c5860}{operator$>$}} (const \mbox{\hyperlink{classxb_1_1xbDate}{xb\+Date}} \&) const +\begin{DoxyCompactList}\small\item\em \texorpdfstring{$>$}{>} \end{DoxyCompactList}\item +\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} \mbox{\hyperlink{classxb_1_1xbDate_a6d8fa4df4664f3fd8d4cc15e77f6d046}{operator$<$=}} (const \mbox{\hyperlink{classxb_1_1xbDate}{xb\+Date}} \&) const +\begin{DoxyCompactList}\small\item\em operator \texorpdfstring{$<$}{<}= \end{DoxyCompactList}\item +\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} \mbox{\hyperlink{classxb_1_1xbDate_a1d81959ea55440588068ea7f82617c99}{operator$>$=}} (const \mbox{\hyperlink{classxb_1_1xbDate}{xb\+Date}} \&) const +\begin{DoxyCompactList}\small\item\em operator \texorpdfstring{$>$}{>}= \end{DoxyCompactList}\item +xb\+Int16 \mbox{\hyperlink{classxb_1_1xbDate_a9df58caa54105c489c314785c457e8cb}{Calc\+Rolling\+Century\+For\+Year}} (xb\+Int16 year) const +\begin{DoxyCompactList}\small\item\em Calculate century for a given year. \end{DoxyCompactList}\item +xb\+Int16 \mbox{\hyperlink{classxb_1_1xbDate_a38b2c5285c69ed65e94ece6c22dafde0}{Century\+Of}} () const +\begin{DoxyCompactList}\small\item\em Get century for date. \end{DoxyCompactList}\item +xb\+Int16 \mbox{\hyperlink{classxb_1_1xbDate_a9fc29730b66cddfbb58c69992a99cc7c}{Char\+Day\+Of}} (\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Out\+Char\+Day) +\begin{DoxyCompactList}\small\item\em Get the day of the week. \end{DoxyCompactList}\item +xb\+Int16 \mbox{\hyperlink{classxb_1_1xbDate_afffc84f02bd421335ff8ebe9fb3db0ac}{Char\+Month\+Of}} (\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Out\+Char\+Month) +\begin{DoxyCompactList}\small\item\em Get the month from the date. \end{DoxyCompactList}\item +\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} \mbox{\hyperlink{classxb_1_1xbDate_a367f66ef0c03c1747c12a18784554ccb}{Date\+Is\+Valid}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Date8) const +\begin{DoxyCompactList}\small\item\em Check a date for valid data. \end{DoxyCompactList}\item +xb\+Int16 \mbox{\hyperlink{classxb_1_1xbDate_ad6417a900ce64a46f8909c0c7a2ddea2}{Day\+Of}} (xb\+Int16 i\+Format) const +\item +xb\+Int16 \mbox{\hyperlink{classxb_1_1xbDate_abb1eb4b0394e4a67aadab15779b1b8c5}{CTOD}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Ctod\+In\+Date) +\begin{DoxyCompactList}\small\item\em Format MM/\+DD/\+YY date. \end{DoxyCompactList}\item +xb\+Int16 \mbox{\hyperlink{classxb_1_1xbDate_a01de44dc869f7db99f33046fc91f2c6a}{Format\+Date}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Fmt\+In, \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Fmt\+Out) +\item +const char $\ast$ \mbox{\hyperlink{classxb_1_1xbDate_ab43a5d8d929767c0ffdd722972bb8cc0}{Str}} () const +\begin{DoxyCompactList}\small\item\em Return the date value. \end{DoxyCompactList}\item +\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} \mbox{\hyperlink{classxb_1_1xbDate_af2bd33a72448e2c5ee00d8b711dc5d95}{Is\+Leap\+Year}} (xb\+Int16 i\+Year) const +\begin{DoxyCompactList}\small\item\em Determine if date is a leap year. \end{DoxyCompactList}\item +\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} \mbox{\hyperlink{classxb_1_1xbDate_a5f8051c31b29244265e8f26ac3547b9b}{Is\+Leap\+Year}} () const +\begin{DoxyCompactList}\small\item\em Determine if date is a leap year. \end{DoxyCompactList}\item +xb\+Int32 \mbox{\hyperlink{classxb_1_1xbDate_a1ee3377d4ead9d31099eee539d9b13a7}{Julian\+Days}} () const +\begin{DoxyCompactList}\small\item\em Calculate julian days for a given date. \end{DoxyCompactList}\item +xb\+Int16 \mbox{\hyperlink{classxb_1_1xbDate_a9d28b2a46d8aaa284b92f44eeb96b2ff}{Jul\+To\+Date8}} (xb\+Int32 l\+Jul\+Date) +\begin{DoxyCompactList}\small\item\em Convert the number of julian days to gregorian date. \end{DoxyCompactList}\item +xb\+Int16 \mbox{\hyperlink{classxb_1_1xbDate_a15847866bb7642aa42bc254e0cf2038a}{Last\+Day\+Of\+Month}} () +\begin{DoxyCompactList}\small\item\em Set the date to the last day of month for a given date. \end{DoxyCompactList}\item +xb\+Int16 \mbox{\hyperlink{classxb_1_1xbDate_a08bd84c67e1119d8c5c1748cd89d092e}{Month\+Of}} () const +\begin{DoxyCompactList}\small\item\em Return the month for the date. \end{DoxyCompactList}\item +xb\+Int16 \mbox{\hyperlink{classxb_1_1xbDate_a4b0cde152b5de0f7d26608d1445110b6}{Set}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&Date8) +\begin{DoxyCompactList}\small\item\em Set the date. \end{DoxyCompactList}\item +xb\+Int16 \mbox{\hyperlink{classxb_1_1xbDate_a40ba54a58d64cf56266f020f91584192}{Sysdate}} () +\begin{DoxyCompactList}\small\item\em Set the date equal to the system date. \end{DoxyCompactList}\item +xb\+Int16 \mbox{\hyperlink{classxb_1_1xbDate_a31057dfaa36389a16e40e3db82c46262}{Year\+Of}} () const +\begin{DoxyCompactList}\small\item\em Returns the year of the date. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classxb_1_1xbSsv_a97dfa59ab9a8e9f17454da0faceb023d}{Display\+Error}} (xb\+Int16 Error\+Code) const +\begin{DoxyCompactList}\small\item\em Display error message on console for a given error number. \end{DoxyCompactList}\item +\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \& \mbox{\hyperlink{classxb_1_1xbSsv_a6fbb9c3a550ab0b3378f9586a57791d2}{Get\+Default\+Date\+Format}} () const +\begin{DoxyCompactList}\small\item\em Get the default date format. \end{DoxyCompactList}\item +\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \& \mbox{\hyperlink{classxb_1_1xbSsv_a1d803a4bfc8ba0561267a0bf9e51f7d9}{Get\+Data\+Directory}} () const +\begin{DoxyCompactList}\small\item\em Get the current data directory. \end{DoxyCompactList}\item +xb\+Int16 \mbox{\hyperlink{classxb_1_1xbSsv_a49cd162f066eef2b829ba7c9f6620243}{Get\+Endian\+Type}} () const +\begin{DoxyCompactList}\small\item\em Get the Endian type. \end{DoxyCompactList}\item +const char $\ast$ \mbox{\hyperlink{classxb_1_1xbSsv_a56961d2a67b8e7470098626ac4dac7e4}{Get\+Error\+Message}} (xb\+Int16 Error\+Code) const +\begin{DoxyCompactList}\small\item\em Get an error message. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classxb_1_1xbSsv_a57caaaadfbd089d9a58ecfcb50c88a6c}{Set\+Data\+Directory}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Data\+Directory) +\begin{DoxyCompactList}\small\item\em Set the data directory. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classxb_1_1xbSsv_a5f74db23f8902846d581935c7db73f9c}{Set\+Default\+Date\+Format}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Default\+Date\+Format) +\begin{DoxyCompactList}\small\item\em Set the default date format. \end{DoxyCompactList}\item +\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} \mbox{\hyperlink{classxb_1_1xbSsv_a62e4fd0a5888665c76bbbad962794e72}{Bit\+Set}} (unsigned char c, xb\+Int16 i\+Bit\+No) const +\begin{DoxyCompactList}\small\item\em Check a bit in a one byte field and see if it is set. \end{DoxyCompactList}\item +\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} \mbox{\hyperlink{classxb_1_1xbSsv_a6982f973e81587b04916f4509746aaf5}{Get\+Default\+Auto\+Commit}} () const +\begin{DoxyCompactList}\small\item\em Get the default auto commit setting. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classxb_1_1xbSsv_a25542afadaaf39b4fb5a1772a29cc0bd}{Set\+Default\+Auto\+Commit}} (\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} b\+Default\+Auto\+Commit) +\begin{DoxyCompactList}\small\item\em Set the default auto commit. \end{DoxyCompactList}\item +\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \& \mbox{\hyperlink{classxb_1_1xbSsv_abf3763faf6a8917a963213cd53af529c}{Get\+Default\+Log\+Directory}} () const +\item +\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \& \mbox{\hyperlink{classxb_1_1xbSsv_a43878d4dc041f2a5e2398a118ccfaf79}{Get\+Default\+Log\+File\+Name}} () const +\item +void \mbox{\hyperlink{classxb_1_1xbSsv_a84343b8645790791512d6bc22ee6c8eb}{Set\+Default\+Log\+Directory}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Default\+Log\+Directory) +\item +\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} \mbox{\hyperlink{classxb_1_1xbSsv_abd58031c5f1c3766c24d47a82e6fd9c5}{Get\+Multi\+User}} () const +\begin{DoxyCompactList}\small\item\em Get the multi user setting. \end{DoxyCompactList}\item +void \mbox{\hyperlink{classxb_1_1xbSsv_aba6e59512f7172dd55dcf92059e5928c}{Set\+Multi\+User}} (\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} b\+Multi\+User) +\begin{DoxyCompactList}\small\item\em Get the multi user setting. \end{DoxyCompactList}\end{DoxyCompactItemize} +\doxysubsection*{Static Public Attributes} +\begin{DoxyCompactItemize} +\item +static const char $\ast$ \mbox{\hyperlink{classxb_1_1xbSsv_a6219f1b5e24ea12fe158cd5aea56988e}{Error\+Code\+Text}} \mbox{[}$\,$\mbox{]} +\end{DoxyCompactItemize} +\doxysubsection*{Protected Member Functions} +\begin{DoxyCompactItemize} +\item +void \mbox{\hyperlink{classxb_1_1xbSsv_a904ec348fd029d4a76e72b8fde636108}{Set\+Endian\+Type}} () +\begin{DoxyCompactList}\small\item\em Set the endian type. \end{DoxyCompactList}\end{DoxyCompactItemize} +\doxysubsection*{Static Protected Attributes} +\begin{DoxyCompactItemize} +\item +static xb\+Int16 \mbox{\hyperlink{classxb_1_1xbSsv_a5849e813f5e8e1cd180f0366637adbf3}{i\+Endian\+Type}} = 0 +\item +static \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \mbox{\hyperlink{classxb_1_1xbSsv_a9dec3164c3b264882df634915ecf21da}{s\+Null\+String}} = \char`\"{}\char`\"{} +\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +\mbox{\hyperlink{classxb_1_1xbDate}{xb\+Date}} class. + +This \mbox{\hyperlink{classxb_1_1xbDate}{xb\+Date}} class handles two type of date values\+:~\newline + + +1) Gregorian dates with a format of CCYYMMDD. This is how dates are stored in dbf files.~\newline + 2) Julian dates calculated as the number of days since 1901-\/01-\/01 + 1721425.~\newline + + +Leap Years\+: The routines in the class support both leap years (one every four years) and leap centuries (one every four hundred years.) + +A leap year is a year having 366 days, which can be evenly divisible by 4 and not by 100.~\newline + Leap centuries are years which are evenly divisible by 400.~\newline + + +From a programming perspective, Julian dates are useful for date arithmetic, determining the difference between two dates or calculating a future or past date.~\newline + + +To determine the difference between two dates, convert both dates to a Julian date and subtract one from the other.~\newline + + +To calculate a future or past date, convert the base date to a Julian date, add (or subtract) the number of days necessary to (from) it and convert the julian date back to a Gregorian date. + +\doxysubsection{Constructor \& Destructor Documentation} +\mbox{\Hypertarget{classxb_1_1xbDate_ab3150e7db0ab5db10a07d748b55465eb}\label{classxb_1_1xbDate_ab3150e7db0ab5db10a07d748b55465eb}} +\index{xb::xbDate@{xb::xbDate}!xbDate@{xbDate}} +\index{xbDate@{xbDate}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{xbDate()}{xbDate()}\hspace{0.1cm}{\footnotesize\ttfamily [1/4]}} +{\footnotesize\ttfamily xb\+::xb\+Date\+::xb\+Date (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} + + + +Constructor. + +\mbox{\Hypertarget{classxb_1_1xbDate_ac8a4d9330221a3daee21b3c28c1d9719}\label{classxb_1_1xbDate_ac8a4d9330221a3daee21b3c28c1d9719}} +\index{xb::xbDate@{xb::xbDate}!xbDate@{xbDate}} +\index{xbDate@{xbDate}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{xbDate()}{xbDate()}\hspace{0.1cm}{\footnotesize\ttfamily [2/4]}} +{\footnotesize\ttfamily xb\+::xb\+Date\+::xb\+Date (\begin{DoxyParamCaption}\item[{const char $\ast$}]{s\+Date8\+In }\end{DoxyParamCaption})} + + + +Constructor. + + +\begin{DoxyParams}{Parameters} +{\em s\+Date8\+In} & -\/ Input date. \\ +\hline +\end{DoxyParams} +\mbox{\Hypertarget{classxb_1_1xbDate_acf4546f5681735ede18210f60bab68d4}\label{classxb_1_1xbDate_acf4546f5681735ede18210f60bab68d4}} +\index{xb::xbDate@{xb::xbDate}!xbDate@{xbDate}} +\index{xbDate@{xbDate}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{xbDate()}{xbDate()}\hspace{0.1cm}{\footnotesize\ttfamily [3/4]}} +{\footnotesize\ttfamily xb\+::xb\+Date\+::xb\+Date (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Date8\+In }\end{DoxyParamCaption})} + + + +Constructor. + + +\begin{DoxyParams}{Parameters} +{\em s\+Date8\+In} & -\/ Input date. \\ +\hline +\end{DoxyParams} +\mbox{\Hypertarget{classxb_1_1xbDate_a7ab727a7ec184a086ad36ef83b948170}\label{classxb_1_1xbDate_a7ab727a7ec184a086ad36ef83b948170}} +\index{xb::xbDate@{xb::xbDate}!xbDate@{xbDate}} +\index{xbDate@{xbDate}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{xbDate()}{xbDate()}\hspace{0.1cm}{\footnotesize\ttfamily [4/4]}} +{\footnotesize\ttfamily xb\+::xb\+Date\+::xb\+Date (\begin{DoxyParamCaption}\item[{xb\+Int32}]{l\+Jul\+Date }\end{DoxyParamCaption})} + + + +Constructor. + + +\begin{DoxyParams}{Parameters} +{\em l\+Jul\+Date} & -\/ Input julian date. \\ +\hline +\end{DoxyParams} +\mbox{\Hypertarget{classxb_1_1xbDate_a05c9680c6eb9fe07ecf13a189b596c37}\label{classxb_1_1xbDate_a05c9680c6eb9fe07ecf13a189b596c37}} +\index{xb::xbDate@{xb::xbDate}!````~xbDate@{$\sim$xbDate}} +\index{````~xbDate@{$\sim$xbDate}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{$\sim$xbDate()}{~xbDate()}} +{\footnotesize\ttfamily xb\+::xb\+Date\+::$\sim$xb\+Date (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} + + + +Destructor. + + + +\doxysubsection{Member Function Documentation} +\mbox{\Hypertarget{classxb_1_1xbSsv_a62e4fd0a5888665c76bbbad962794e72}\label{classxb_1_1xbSsv_a62e4fd0a5888665c76bbbad962794e72}} +\index{xb::xbDate@{xb::xbDate}!BitSet@{BitSet}} +\index{BitSet@{BitSet}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{BitSet()}{BitSet()}} +{\footnotesize\ttfamily \mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} xb\+::xb\+Ssv\+::\+Bit\+Set (\begin{DoxyParamCaption}\item[{unsigned char}]{c, }\item[{xb\+Int16}]{i\+Bit\+No }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}} + + + +Check a bit in a one byte field and see if it is set. + + +\begin{DoxyParams}{Parameters} +{\em c} & One byte char field to examine. \\ +\hline +{\em i\+Bit\+No} & which bit to examine. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +xb\+True Bit is set~\newline + xb\+False Bit is not set +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_a9df58caa54105c489c314785c457e8cb}\label{classxb_1_1xbDate_a9df58caa54105c489c314785c457e8cb}} +\index{xb::xbDate@{xb::xbDate}!CalcRollingCenturyForYear@{CalcRollingCenturyForYear}} +\index{CalcRollingCenturyForYear@{CalcRollingCenturyForYear}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{CalcRollingCenturyForYear()}{CalcRollingCenturyForYear()}} +{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+Date\+::\+Calc\+Rolling\+Century\+For\+Year (\begin{DoxyParamCaption}\item[{xb\+Int16}]{i\+Calc\+Year }\end{DoxyParamCaption}) const} + + + +Calculate century for a given year. + +This routine calculates a century for a given year. It uses an 80/20 rolling date window to calculate the century. + + +\begin{DoxyParams}{Parameters} +{\em i\+Calc\+Year} & -\/ Two digit year to calculate a century for. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Century calculated for the two digit year. +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_a38b2c5285c69ed65e94ece6c22dafde0}\label{classxb_1_1xbDate_a38b2c5285c69ed65e94ece6c22dafde0}} +\index{xb::xbDate@{xb::xbDate}!CenturyOf@{CenturyOf}} +\index{CenturyOf@{CenturyOf}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{CenturyOf()}{CenturyOf()}} +{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+Date\+::\+Century\+Of (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const} + + + +Get century for date. + +\begin{DoxyReturn}{Returns} +This routine returns the century from the date. +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_a9fc29730b66cddfbb58c69992a99cc7c}\label{classxb_1_1xbDate_a9fc29730b66cddfbb58c69992a99cc7c}} +\index{xb::xbDate@{xb::xbDate}!CharDayOf@{CharDayOf}} +\index{CharDayOf@{CharDayOf}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{CharDayOf()}{CharDayOf()}} +{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+Date\+::\+Char\+Day\+Of (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Out\+Char\+Day }\end{DoxyParamCaption})} + + + +Get the day of the week. + + +\begin{DoxyParams}{Parameters} +{\em s\+Out\+Char\+Day} & -\/ Output character day of week (Sun-\/\+Sat). \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +XB\+\_\+\+INVALID\+\_\+\+DATE~\newline +XB\+\_\+\+NO\+\_\+\+ERROR +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_afffc84f02bd421335ff8ebe9fb3db0ac}\label{classxb_1_1xbDate_afffc84f02bd421335ff8ebe9fb3db0ac}} +\index{xb::xbDate@{xb::xbDate}!CharMonthOf@{CharMonthOf}} +\index{CharMonthOf@{CharMonthOf}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{CharMonthOf()}{CharMonthOf()}} +{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+Date\+::\+Char\+Month\+Of (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Out\+Char\+Month }\end{DoxyParamCaption})} + + + +Get the month from the date. + + +\begin{DoxyParams}{Parameters} +{\em s\+Out\+Char\+Month} & -\/ Output character month. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +XB\+\_\+\+INVALID\+\_\+\+DATE~\newline +XB\+\_\+\+NO\+\_\+\+ERROR +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_abb1eb4b0394e4a67aadab15779b1b8c5}\label{classxb_1_1xbDate_abb1eb4b0394e4a67aadab15779b1b8c5}} +\index{xb::xbDate@{xb::xbDate}!CTOD@{CTOD}} +\index{CTOD@{CTOD}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{CTOD()}{CTOD()}} +{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+Date\+::\+CTOD (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Ctod\+In\+Date }\end{DoxyParamCaption})} + + + +Format MM/\+DD/\+YY date. + +This routine takes an MM/\+DD/\+YY format date as input and populates a date class with the appropriate YYYYMMDD data. + + +\begin{DoxyParams}{Parameters} +{\em s\+Ctod\+In\+Date} & -\/ MM/\+DD/\+YY formatted date as input. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +XB\+\_\+\+INVALID\+\_\+\+OPTION~\newline +XB\+\_\+\+NO\+\_\+\+ERROR +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_a367f66ef0c03c1747c12a18784554ccb}\label{classxb_1_1xbDate_a367f66ef0c03c1747c12a18784554ccb}} +\index{xb::xbDate@{xb::xbDate}!DateIsValid@{DateIsValid}} +\index{DateIsValid@{DateIsValid}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{DateIsValid()}{DateIsValid()}} +{\footnotesize\ttfamily \mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} xb\+::xb\+Date\+::\+Date\+Is\+Valid (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Date\+In }\end{DoxyParamCaption}) const} + + + +Check a date for valid data. + + +\begin{DoxyParams}{Parameters} +{\em s\+Date\+In} & -\/ Date to check for valid formaat of CCYYMMDD. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +xb\+True -\/ Valid date.~\newline +xb\+False -\/ Not a valid date. +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_ad6417a900ce64a46f8909c0c7a2ddea2}\label{classxb_1_1xbDate_ad6417a900ce64a46f8909c0c7a2ddea2}} +\index{xb::xbDate@{xb::xbDate}!DayOf@{DayOf}} +\index{DayOf@{DayOf}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{DayOf()}{DayOf()}} +{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+Date\+::\+Day\+Of (\begin{DoxyParamCaption}\item[{xb\+Int16}]{i\+Format }\end{DoxyParamCaption}) const} + +This routine returns the numeric day. +\begin{DoxyParams}{Parameters} +{\em i\+Format} & XB\+\_\+\+FMT\+\_\+\+WEEK Number of day in WEEK 0-\/6 ( Sat -\/ Fri )~\newline + XB\+\_\+\+FMT\+\_\+\+MONTH Number of day in MONTH 1-\/31~\newline + XB\+\_\+\+FMT\+\_\+\+YEAR Number of day in YEAR 1-\/366 \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +XB\+\_\+\+INVALID\+\_\+\+OPTION~\newline +XB\+\_\+\+NO\+\_\+\+ERROR +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbSsv_a97dfa59ab9a8e9f17454da0faceb023d}\label{classxb_1_1xbSsv_a97dfa59ab9a8e9f17454da0faceb023d}} +\index{xb::xbDate@{xb::xbDate}!DisplayError@{DisplayError}} +\index{DisplayError@{DisplayError}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{DisplayError()}{DisplayError()}} +{\footnotesize\ttfamily void xb\+::xb\+Ssv\+::\+Display\+Error (\begin{DoxyParamCaption}\item[{xb\+Int16}]{i\+Error\+Code }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}} + + + +Display error message on console for a given error number. + + +\begin{DoxyParams}{Parameters} +{\em i\+Error\+Code} & Error number to reference \\ +\hline +\end{DoxyParams} +\mbox{\Hypertarget{classxb_1_1xbDate_a01de44dc869f7db99f33046fc91f2c6a}\label{classxb_1_1xbDate_a01de44dc869f7db99f33046fc91f2c6a}} +\index{xb::xbDate@{xb::xbDate}!FormatDate@{FormatDate}} +\index{FormatDate@{FormatDate}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{FormatDate()}{FormatDate()}} +{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+Date\+::\+Format\+Date (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Fmt\+In, }\item[{\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Out\+Fmt\+Date }\end{DoxyParamCaption})} + +This routine will reformat a date based on the format specifiers entered in s\+Fmt\+In. If no input format is specified, the routine will use the system default date format. + + +\begin{DoxyParams}{Parameters} +{\em s\+Fmt\+In} & -\/ A format specifier with the following paramaters\+:~\newline + \begin{DoxyVerb} 1) YYDDD - A julian date format + 2) YY or YYYY will print a 2 or 4 digit year + 3) M,MM,MMM or MMMM + M - one digit month if no leading zero + MM - two digit month, contains leading zero + MMM - Jan through Dec + MMMM - January through December + 4) D,DD,DDD or DDDD + D - one digit dayif no leading zero + DD - two digit day, contains leading zero + DDD - Sun through Sat (or julian if YYDDD) + DDDD - Sunday through Saturday +\end{DoxyVerb} + \\ +\hline +{\em s\+Out\+Fmt\+Date} & -\/ Reformatted output date. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +XB\+\_\+\+NO\+\_\+\+ERROR ~\newline +~\newline + Format Examples\+:~\newline + MM/\+DD/\+YY~\newline + YYYY-\/\+MM-\/\+DD~\newline + DDDDDDDDDDD MMMMMMMMMMM DD,YYYY +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbSsv_a1d803a4bfc8ba0561267a0bf9e51f7d9}\label{classxb_1_1xbSsv_a1d803a4bfc8ba0561267a0bf9e51f7d9}} +\index{xb::xbDate@{xb::xbDate}!GetDataDirectory@{GetDataDirectory}} +\index{GetDataDirectory@{GetDataDirectory}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{GetDataDirectory()}{GetDataDirectory()}} +{\footnotesize\ttfamily \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \& xb\+::xb\+Ssv\+::\+Get\+Data\+Directory (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}} + + + +Get the current data directory. + +\begin{DoxyReturn}{Returns} +\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} containing the current data directory where the database files are stored. +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbSsv_a6982f973e81587b04916f4509746aaf5}\label{classxb_1_1xbSsv_a6982f973e81587b04916f4509746aaf5}} +\index{xb::xbDate@{xb::xbDate}!GetDefaultAutoCommit@{GetDefaultAutoCommit}} +\index{GetDefaultAutoCommit@{GetDefaultAutoCommit}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{GetDefaultAutoCommit()}{GetDefaultAutoCommit()}} +{\footnotesize\ttfamily \mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} xb\+::xb\+Ssv\+::\+Get\+Default\+Auto\+Commit (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}} + + + +Get the default auto commit setting. + +When auto commit is enabled, the library will automatically post any updates when moving off an updated record or closing files. If auto commit is disabled, the application program will need to explicitly update the tables using using dbf-\/\texorpdfstring{$>$}{>}Put() and dbf-\/\texorpdfstring{$>$}{>}Append\+Record(). + +\begin{DoxyReturn}{Returns} +xb\+True if auto commit is turned on~\newline + xb\+False is auto commit is turned off +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbSsv_a6fbb9c3a550ab0b3378f9586a57791d2}\label{classxb_1_1xbSsv_a6fbb9c3a550ab0b3378f9586a57791d2}} +\index{xb::xbDate@{xb::xbDate}!GetDefaultDateFormat@{GetDefaultDateFormat}} +\index{GetDefaultDateFormat@{GetDefaultDateFormat}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{GetDefaultDateFormat()}{GetDefaultDateFormat()}} +{\footnotesize\ttfamily \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \& xb\+::xb\+Ssv\+::\+Get\+Default\+Date\+Format (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}} + + + +Get the default date format. + +\begin{DoxyReturn}{Returns} +\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} containing the default date format. +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbSsv_abf3763faf6a8917a963213cd53af529c}\label{classxb_1_1xbSsv_abf3763faf6a8917a963213cd53af529c}} +\index{xb::xbDate@{xb::xbDate}!GetDefaultLogDirectory@{GetDefaultLogDirectory}} +\index{GetDefaultLogDirectory@{GetDefaultLogDirectory}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{GetDefaultLogDirectory()}{GetDefaultLogDirectory()}} +{\footnotesize\ttfamily \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \& xb\+::xb\+Ssv\+::\+Get\+Default\+Log\+Directory (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}} + +\mbox{\Hypertarget{classxb_1_1xbSsv_a43878d4dc041f2a5e2398a118ccfaf79}\label{classxb_1_1xbSsv_a43878d4dc041f2a5e2398a118ccfaf79}} +\index{xb::xbDate@{xb::xbDate}!GetDefaultLogFileName@{GetDefaultLogFileName}} +\index{GetDefaultLogFileName@{GetDefaultLogFileName}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{GetDefaultLogFileName()}{GetDefaultLogFileName()}} +{\footnotesize\ttfamily \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \& xb\+::xb\+Ssv\+::\+Get\+Default\+Log\+File\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}} + +\mbox{\Hypertarget{classxb_1_1xbSsv_a49cd162f066eef2b829ba7c9f6620243}\label{classxb_1_1xbSsv_a49cd162f066eef2b829ba7c9f6620243}} +\index{xb::xbDate@{xb::xbDate}!GetEndianType@{GetEndianType}} +\index{GetEndianType@{GetEndianType}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{GetEndianType()}{GetEndianType()}} +{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+Ssv\+::\+Get\+Endian\+Type (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}} + + + +Get the Endian type. + +\begin{DoxyReturn}{Returns} +B -\/ Big endian~\newline + L -\/ Little endian~\newline + +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbSsv_a56961d2a67b8e7470098626ac4dac7e4}\label{classxb_1_1xbSsv_a56961d2a67b8e7470098626ac4dac7e4}} +\index{xb::xbDate@{xb::xbDate}!GetErrorMessage@{GetErrorMessage}} +\index{GetErrorMessage@{GetErrorMessage}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{GetErrorMessage()}{GetErrorMessage()}} +{\footnotesize\ttfamily const char $\ast$ xb\+::xb\+Ssv\+::\+Get\+Error\+Message (\begin{DoxyParamCaption}\item[{xb\+Int16}]{i\+Error\+Code }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}} + + + +Get an error message. + + +\begin{DoxyParams}{Parameters} +{\em i\+Error\+Code} & Error\+Code is the error number of description to be returned. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Returns a pointer to a string containing a text description for the error code. +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbSsv_abd58031c5f1c3766c24d47a82e6fd9c5}\label{classxb_1_1xbSsv_abd58031c5f1c3766c24d47a82e6fd9c5}} +\index{xb::xbDate@{xb::xbDate}!GetMultiUser@{GetMultiUser}} +\index{GetMultiUser@{GetMultiUser}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{GetMultiUser()}{GetMultiUser()}} +{\footnotesize\ttfamily \mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} xb\+::xb\+Ssv\+::\+Get\+Multi\+User (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}} + + + +Get the multi user setting. + +\begin{DoxyReturn}{Returns} +xb\+True -\/ Multi user mode turned on.~\newline + xb\+False -\/ Multi user mode turned off.~\newline + +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_a5f8051c31b29244265e8f26ac3547b9b}\label{classxb_1_1xbDate_a5f8051c31b29244265e8f26ac3547b9b}} +\index{xb::xbDate@{xb::xbDate}!IsLeapYear@{IsLeapYear}} +\index{IsLeapYear@{IsLeapYear}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{IsLeapYear()}{IsLeapYear()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}} +{\footnotesize\ttfamily \mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} xb\+::xb\+Date\+::\+Is\+Leap\+Year (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const} + + + +Determine if date is a leap year. + +\begin{DoxyReturn}{Returns} +xb\+True -\/ Is leapyear.~\newline + xb\+False -\/ Not a leap year. +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_af2bd33a72448e2c5ee00d8b711dc5d95}\label{classxb_1_1xbDate_af2bd33a72448e2c5ee00d8b711dc5d95}} +\index{xb::xbDate@{xb::xbDate}!IsLeapYear@{IsLeapYear}} +\index{IsLeapYear@{IsLeapYear}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{IsLeapYear()}{IsLeapYear()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}} +{\footnotesize\ttfamily \mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} xb\+::xb\+Date\+::\+Is\+Leap\+Year (\begin{DoxyParamCaption}\item[{xb\+Int16}]{i\+Year }\end{DoxyParamCaption}) const} + + + +Determine if date is a leap year. + + +\begin{DoxyParams}{Parameters} +{\em i\+Year} & -\/ Year to check for leap year status. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +xb\+True -\/ Is leapyear.~\newline + xb\+False -\/ Not a leap year. +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_a1ee3377d4ead9d31099eee539d9b13a7}\label{classxb_1_1xbDate_a1ee3377d4ead9d31099eee539d9b13a7}} +\index{xb::xbDate@{xb::xbDate}!JulianDays@{JulianDays}} +\index{JulianDays@{JulianDays}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{JulianDays()}{JulianDays()}} +{\footnotesize\ttfamily xb\+Int32 xb\+::xb\+Date\+::\+Julian\+Days (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const} + + + +Calculate julian days for a given date. + +\begin{DoxyReturn}{Returns} +The number of days since 01/01/0001 + JUL\+\_\+\+OFFSET. +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_a9d28b2a46d8aaa284b92f44eeb96b2ff}\label{classxb_1_1xbDate_a9d28b2a46d8aaa284b92f44eeb96b2ff}} +\index{xb::xbDate@{xb::xbDate}!JulToDate8@{JulToDate8}} +\index{JulToDate8@{JulToDate8}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{JulToDate8()}{JulToDate8()}} +{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+Date\+::\+Jul\+To\+Date8 (\begin{DoxyParamCaption}\item[{xb\+Int32}]{l\+Jul\+Days }\end{DoxyParamCaption})} + + + +Convert the number of julian days to gregorian date. + + +\begin{DoxyParams}{Parameters} +{\em l\+Jul\+Days} & -\/ Julian days. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +XB\+\_\+\+NO\+\_\+\+ERROR +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_a15847866bb7642aa42bc254e0cf2038a}\label{classxb_1_1xbDate_a15847866bb7642aa42bc254e0cf2038a}} +\index{xb::xbDate@{xb::xbDate}!LastDayOfMonth@{LastDayOfMonth}} +\index{LastDayOfMonth@{LastDayOfMonth}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{LastDayOfMonth()}{LastDayOfMonth()}} +{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+Date\+::\+Last\+Day\+Of\+Month (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} + + + +Set the date to the last day of month for a given date. + +This routine sets the last date of the month. \begin{DoxyReturn}{Returns} +XB\+\_\+\+NO\+\_\+\+ERROR +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_a08bd84c67e1119d8c5c1748cd89d092e}\label{classxb_1_1xbDate_a08bd84c67e1119d8c5c1748cd89d092e}} +\index{xb::xbDate@{xb::xbDate}!MonthOf@{MonthOf}} +\index{MonthOf@{MonthOf}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{MonthOf()}{MonthOf()}} +{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+Date\+::\+Month\+Of (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const} + + + +Return the month for the date. + +\begin{DoxyReturn}{Returns} +The month of the date. +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_ac3aaf8997fc0c36676085e7741f33a8a}\label{classxb_1_1xbDate_ac3aaf8997fc0c36676085e7741f33a8a}} +\index{xb::xbDate@{xb::xbDate}!operator"!=@{operator"!=}} +\index{operator"!=@{operator"!=}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{operator"!=()}{operator!=()}} +{\footnotesize\ttfamily \mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} xb\+::xb\+Date\+::operator!= (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbDate}{xb\+Date}} \&}]{dt }\end{DoxyParamCaption}) const} + + + +operator != + +This routine compares two dates for inequality. +\begin{DoxyParams}{Parameters} +{\em dt} & -\/ Date to compare. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +xb\+True -\/ Dates don\textquotesingle{}t match.~\newline +xb\+False -\/ Dates match. +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_ad09609bf78cf038886a4f9cd19423f9c}\label{classxb_1_1xbDate_ad09609bf78cf038886a4f9cd19423f9c}} +\index{xb::xbDate@{xb::xbDate}!operator+@{operator+}} +\index{operator+@{operator+}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{operator+()}{operator+()}} +{\footnotesize\ttfamily const char $\ast$ xb\+::xb\+Date\+::operator+ (\begin{DoxyParamCaption}\item[{xb\+Int32}]{l\+Count }\end{DoxyParamCaption})} + + + +operator + + +This routine adds additional days to a date field. +\begin{DoxyParams}{Parameters} +{\em l\+Count} & -\/ Number of days to add. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +New date in CCYYMMDD format. +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_a1c7d9e3718c43df18b21646072c8605e}\label{classxb_1_1xbDate_a1c7d9e3718c43df18b21646072c8605e}} +\index{xb::xbDate@{xb::xbDate}!operator++@{operator++}} +\index{operator++@{operator++}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{operator++()}{operator++()}} +{\footnotesize\ttfamily void xb\+::xb\+Date\+::operator++ (\begin{DoxyParamCaption}\item[{xb\+Int32}]{i }\end{DoxyParamCaption})} + + + +operator ++ + +This routine adds one day to the date field. \mbox{\Hypertarget{classxb_1_1xbDate_a947ba156d04fe063aaa4c9964ae5d163}\label{classxb_1_1xbDate_a947ba156d04fe063aaa4c9964ae5d163}} +\index{xb::xbDate@{xb::xbDate}!operator+=@{operator+=}} +\index{operator+=@{operator+=}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{operator+=()}{operator+=()}} +{\footnotesize\ttfamily void xb\+::xb\+Date\+::operator+= (\begin{DoxyParamCaption}\item[{xb\+Int32}]{l\+Days }\end{DoxyParamCaption})} + + + +operator += + +This routine adds l\+Days to the date +\begin{DoxyParams}{Parameters} +{\em l\+Days} & -\/ Number of days to add to the date. \\ +\hline +\end{DoxyParams} +\mbox{\Hypertarget{classxb_1_1xbDate_a3f3a8802c96098c85aa8d0e19717a979}\label{classxb_1_1xbDate_a3f3a8802c96098c85aa8d0e19717a979}} +\index{xb::xbDate@{xb::xbDate}!operator-\/@{operator-\/}} +\index{operator-\/@{operator-\/}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{operator-\/()}{operator-()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}} +{\footnotesize\ttfamily xb\+Int32 xb\+::xb\+Date\+::operator-\/ (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbDate}{xb\+Date}} \&}]{dt }\end{DoxyParamCaption}) const} + + + +operator -\/ + +This routine subtracts one date from another date returning the difference. +\begin{DoxyParams}{Parameters} +{\em dt} & -\/ Date to subtract. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Number of days +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_a73ff5c037046ac0a0bb7d73f74e25cbb}\label{classxb_1_1xbDate_a73ff5c037046ac0a0bb7d73f74e25cbb}} +\index{xb::xbDate@{xb::xbDate}!operator-\/@{operator-\/}} +\index{operator-\/@{operator-\/}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{operator-\/()}{operator-()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}} +{\footnotesize\ttfamily const char $\ast$ xb\+::xb\+Date\+::operator-\/ (\begin{DoxyParamCaption}\item[{xb\+Int32}]{l\+Count }\end{DoxyParamCaption})} + + + +operator -\/ + +This routine subtracts days from a date field. +\begin{DoxyParams}{Parameters} +{\em l\+Count} & -\/ Number of days to subtract. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +New date in CCYYMMDD format. +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_ae2b33dfee60d324916d833b2098b5a6b}\label{classxb_1_1xbDate_ae2b33dfee60d324916d833b2098b5a6b}} +\index{xb::xbDate@{xb::xbDate}!operator-\/-\/@{operator-\/-\/}} +\index{operator-\/-\/@{operator-\/-\/}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{operator-\/-\/()}{operator--()}} +{\footnotesize\ttfamily void xb\+::xb\+Date\+::operator-\/-\/ (\begin{DoxyParamCaption}\item[{xb\+Int32}]{i }\end{DoxyParamCaption})} + + + +operator -- + +This routine subtracts one day from the date field. \mbox{\Hypertarget{classxb_1_1xbDate_a4a8f207d759540114373f5e9d6d375f7}\label{classxb_1_1xbDate_a4a8f207d759540114373f5e9d6d375f7}} +\index{xb::xbDate@{xb::xbDate}!operator-\/=@{operator-\/=}} +\index{operator-\/=@{operator-\/=}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{operator-\/=()}{operator-=()}} +{\footnotesize\ttfamily void xb\+::xb\+Date\+::operator-\/= (\begin{DoxyParamCaption}\item[{xb\+Int32}]{l\+Days }\end{DoxyParamCaption})} + + + +operator -\/= + +This routine subtracts l\+Days from the date. +\begin{DoxyParams}{Parameters} +{\em l\+Days} & -\/ Number of days to subtract from the date. \\ +\hline +\end{DoxyParams} +\mbox{\Hypertarget{classxb_1_1xbDate_a11f09d97ed527e7ef00ba6f17b9fb02c}\label{classxb_1_1xbDate_a11f09d97ed527e7ef00ba6f17b9fb02c}} +\index{xb::xbDate@{xb::xbDate}!operator$<$@{operator$<$}} +\index{operator$<$@{operator$<$}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{operator$<$()}{operator<()}} +{\footnotesize\ttfamily \mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} xb\+::xb\+Date\+::operator$<$ (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbDate}{xb\+Date}} \&}]{dt }\end{DoxyParamCaption}) const} + + + +operator \texorpdfstring{$<$}{<} + +This routine compares two dates +\begin{DoxyParams}{Parameters} +{\em dt} & -\/ Date to compare. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +xb\+True -\/ Left date is less than right date.~\newline + xb\+False -\/ Left date is not less than right date. +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_a6d8fa4df4664f3fd8d4cc15e77f6d046}\label{classxb_1_1xbDate_a6d8fa4df4664f3fd8d4cc15e77f6d046}} +\index{xb::xbDate@{xb::xbDate}!operator$<$=@{operator$<$=}} +\index{operator$<$=@{operator$<$=}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{operator$<$=()}{operator<=()}} +{\footnotesize\ttfamily \mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} xb\+::xb\+Date\+::operator$<$= (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbDate}{xb\+Date}} \&}]{dt }\end{DoxyParamCaption}) const} + + + +operator \texorpdfstring{$<$}{<}= + +This routine compares two dates +\begin{DoxyParams}{Parameters} +{\em dt} & -\/ Date to compare. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +xb\+True -\/ Left date is less than or equal to right date.~\newline + xb\+False -\/ Left date is not less than or equal to right date. +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_a2e33ad9415c32e820e08fd8084198690}\label{classxb_1_1xbDate_a2e33ad9415c32e820e08fd8084198690}} +\index{xb::xbDate@{xb::xbDate}!operator=@{operator=}} +\index{operator=@{operator=}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{operator=()}{operator=()}} +{\footnotesize\ttfamily void xb\+::xb\+Date\+::operator= (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbDate}{xb\+Date}} \&}]{dt }\end{DoxyParamCaption})} + + + +Set operator=. + + +\begin{DoxyParams}{Parameters} +{\em dt} & -\/ Date value for set operation. \\ +\hline +\end{DoxyParams} +\mbox{\Hypertarget{classxb_1_1xbDate_aaaf98c1a672066021895f0953b6e94d0}\label{classxb_1_1xbDate_aaaf98c1a672066021895f0953b6e94d0}} +\index{xb::xbDate@{xb::xbDate}!operator==@{operator==}} +\index{operator==@{operator==}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{operator==()}{operator==()}} +{\footnotesize\ttfamily \mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} xb\+::xb\+Date\+::operator== (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbDate}{xb\+Date}} \&}]{dt }\end{DoxyParamCaption}) const} + + + +operator == + +This routine compares two dates for equality. +\begin{DoxyParams}{Parameters} +{\em dt} & -\/ Date to compare. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +xb\+True -\/ Dates match.~\newline +xb\+False -\/ Dates don\textquotesingle{}t match. +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_a744031c4031d6ec4595d34acbd1c5860}\label{classxb_1_1xbDate_a744031c4031d6ec4595d34acbd1c5860}} +\index{xb::xbDate@{xb::xbDate}!operator$>$@{operator$>$}} +\index{operator$>$@{operator$>$}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{operator$>$()}{operator>()}} +{\footnotesize\ttfamily \mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} xb\+::xb\+Date\+::operator$>$ (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbDate}{xb\+Date}} \&}]{dt }\end{DoxyParamCaption}) const} + + + +\texorpdfstring{$>$}{>} + +This routine compares two dates +\begin{DoxyParams}{Parameters} +{\em dt} & -\/ Date to compare. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +xb\+True -\/ Left date is greater than right date.~\newline + xb\+False -\/ Left date is not greater than right date. +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_a1d81959ea55440588068ea7f82617c99}\label{classxb_1_1xbDate_a1d81959ea55440588068ea7f82617c99}} +\index{xb::xbDate@{xb::xbDate}!operator$>$=@{operator$>$=}} +\index{operator$>$=@{operator$>$=}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{operator$>$=()}{operator>=()}} +{\footnotesize\ttfamily \mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} xb\+::xb\+Date\+::operator$>$= (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbDate}{xb\+Date}} \&}]{dt }\end{DoxyParamCaption}) const} + + + +operator \texorpdfstring{$>$}{>}= + +This routine compares two dates +\begin{DoxyParams}{Parameters} +{\em dt} & -\/ Date to compare. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +xb\+True -\/ Left date is greater than or equal to right date.~\newline + xb\+False -\/ Left date is not greater than or equal to right date. +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_a4b0cde152b5de0f7d26608d1445110b6}\label{classxb_1_1xbDate_a4b0cde152b5de0f7d26608d1445110b6}} +\index{xb::xbDate@{xb::xbDate}!Set@{Set}} +\index{Set@{Set}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{Set()}{Set()}} +{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+Date\+::\+Set (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Date\+In }\end{DoxyParamCaption})} + + + +Set the date. + + +\begin{DoxyParams}{Parameters} +{\em s\+Date\+In} & -\/ Input date. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +XB\+\_\+\+NO\+\_\+\+ERROR~\newline +XB\+\_\+\+INVALID\+\_\+\+DATE +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbSsv_a57caaaadfbd089d9a58ecfcb50c88a6c}\label{classxb_1_1xbSsv_a57caaaadfbd089d9a58ecfcb50c88a6c}} +\index{xb::xbDate@{xb::xbDate}!SetDataDirectory@{SetDataDirectory}} +\index{SetDataDirectory@{SetDataDirectory}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{SetDataDirectory()}{SetDataDirectory()}} +{\footnotesize\ttfamily void xb\+::xb\+Ssv\+::\+Set\+Data\+Directory (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Data\+Directory }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}} + + + +Set the data directory. + + +\begin{DoxyParams}{Parameters} +{\em s\+Data\+Directory} & Set the data direcroty. \\ +\hline +\end{DoxyParams} +\mbox{\Hypertarget{classxb_1_1xbSsv_a25542afadaaf39b4fb5a1772a29cc0bd}\label{classxb_1_1xbSsv_a25542afadaaf39b4fb5a1772a29cc0bd}} +\index{xb::xbDate@{xb::xbDate}!SetDefaultAutoCommit@{SetDefaultAutoCommit}} +\index{SetDefaultAutoCommit@{SetDefaultAutoCommit}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{SetDefaultAutoCommit()}{SetDefaultAutoCommit()}} +{\footnotesize\ttfamily void xb\+::xb\+Ssv\+::\+Set\+Default\+Auto\+Commit (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}}}]{b\+Default\+Auto\+Commit }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}} + + + +Set the default auto commit. + +Disabling auto commit requires the application execute explicit updates using dbf-\/\texorpdfstring{$>$}{>}Put() and dbf-\/\texorpdfstring{$>$}{>}Append\+Record(). With auto commit on, the library posts updates automatically when moving off the current record or closing a file. + + +\begin{DoxyParams}{Parameters} +{\em b\+Default\+Auto\+Commit} & xb\+True -\/ Enable default auto commit.~\newline + xb\+False -\/ Disable default auto commit.~\newline + \\ +\hline +\end{DoxyParams} +\mbox{\Hypertarget{classxb_1_1xbSsv_a5f74db23f8902846d581935c7db73f9c}\label{classxb_1_1xbSsv_a5f74db23f8902846d581935c7db73f9c}} +\index{xb::xbDate@{xb::xbDate}!SetDefaultDateFormat@{SetDefaultDateFormat}} +\index{SetDefaultDateFormat@{SetDefaultDateFormat}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{SetDefaultDateFormat()}{SetDefaultDateFormat()}} +{\footnotesize\ttfamily void xb\+::xb\+Ssv\+::\+Set\+Default\+Date\+Format (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Default\+Date\+Format }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}} + + + +Set the default date format. + + +\begin{DoxyParams}{Parameters} +{\em s\+Default\+Date\+Format} & Set the default date format. \\ +\hline +\end{DoxyParams} +\mbox{\Hypertarget{classxb_1_1xbSsv_a84343b8645790791512d6bc22ee6c8eb}\label{classxb_1_1xbSsv_a84343b8645790791512d6bc22ee6c8eb}} +\index{xb::xbDate@{xb::xbDate}!SetDefaultLogDirectory@{SetDefaultLogDirectory}} +\index{SetDefaultLogDirectory@{SetDefaultLogDirectory}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{SetDefaultLogDirectory()}{SetDefaultLogDirectory()}} +{\footnotesize\ttfamily void xb\+::xb\+Ssv\+::\+Set\+Default\+Log\+Directory (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Default\+Log\+Directory }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}} + +\mbox{\Hypertarget{classxb_1_1xbSsv_a904ec348fd029d4a76e72b8fde636108}\label{classxb_1_1xbSsv_a904ec348fd029d4a76e72b8fde636108}} +\index{xb::xbDate@{xb::xbDate}!SetEndianType@{SetEndianType}} +\index{SetEndianType@{SetEndianType}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{SetEndianType()}{SetEndianType()}} +{\footnotesize\ttfamily void xb\+::xb\+Ssv\+::\+Set\+Endian\+Type (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [inherited]}} + + + +Set the endian type. + +This routine determines the Endian-\/ness at run time instead of compile time as some processers (ie; Sparc,ARM) can be switched either way. This routine is called automatically by the library at startup and does not need to be called in an application program. \mbox{\Hypertarget{classxb_1_1xbSsv_aba6e59512f7172dd55dcf92059e5928c}\label{classxb_1_1xbSsv_aba6e59512f7172dd55dcf92059e5928c}} +\index{xb::xbDate@{xb::xbDate}!SetMultiUser@{SetMultiUser}} +\index{SetMultiUser@{SetMultiUser}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{SetMultiUser()}{SetMultiUser()}} +{\footnotesize\ttfamily void xb\+::xb\+Ssv\+::\+Set\+Multi\+User (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}}}]{b\+Multi\+User }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}} + + + +Get the multi user setting. + + +\begin{DoxyParams}{Parameters} +{\em b\+Multi\+User} & xb\+True -\/ Turn on Multi user mode.~\newline + xb\+False -\/ Turn off Multi user mode.~\newline + \\ +\hline +\end{DoxyParams} +\mbox{\Hypertarget{classxb_1_1xbDate_ab43a5d8d929767c0ffdd722972bb8cc0}\label{classxb_1_1xbDate_ab43a5d8d929767c0ffdd722972bb8cc0}} +\index{xb::xbDate@{xb::xbDate}!Str@{Str}} +\index{Str@{Str}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{Str()}{Str()}} +{\footnotesize\ttfamily const char $\ast$ xb\+::xb\+Date\+::\+Str (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const} + + + +Return the date value. + +\begin{DoxyReturn}{Returns} +char ptr to date value. +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_a40ba54a58d64cf56266f020f91584192}\label{classxb_1_1xbDate_a40ba54a58d64cf56266f020f91584192}} +\index{xb::xbDate@{xb::xbDate}!Sysdate@{Sysdate}} +\index{Sysdate@{Sysdate}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{Sysdate()}{Sysdate()}} +{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+Date\+::\+Sysdate (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} + + + +Set the date equal to the system date. + +\begin{DoxyReturn}{Returns} +XB\+\_\+\+NO\+\_\+\+ERROR +\end{DoxyReturn} +\mbox{\Hypertarget{classxb_1_1xbDate_a31057dfaa36389a16e40e3db82c46262}\label{classxb_1_1xbDate_a31057dfaa36389a16e40e3db82c46262}} +\index{xb::xbDate@{xb::xbDate}!YearOf@{YearOf}} +\index{YearOf@{YearOf}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{YearOf()}{YearOf()}} +{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+Date\+::\+Year\+Of (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const} + + + +Returns the year of the date. + +\begin{DoxyReturn}{Returns} +The year of the date. +\end{DoxyReturn} + + +\doxysubsection{Field Documentation} +\mbox{\Hypertarget{classxb_1_1xbSsv_a6219f1b5e24ea12fe158cd5aea56988e}\label{classxb_1_1xbSsv_a6219f1b5e24ea12fe158cd5aea56988e}} +\index{xb::xbDate@{xb::xbDate}!ErrorCodeText@{ErrorCodeText}} +\index{ErrorCodeText@{ErrorCodeText}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{ErrorCodeText}{ErrorCodeText}} +{\footnotesize\ttfamily const char$\ast$ xb\+::xb\+Ssv\+::\+Error\+Code\+Text\mbox{[}$\,$\mbox{]}\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [inherited]}} + +\mbox{\Hypertarget{classxb_1_1xbSsv_a5849e813f5e8e1cd180f0366637adbf3}\label{classxb_1_1xbSsv_a5849e813f5e8e1cd180f0366637adbf3}} +\index{xb::xbDate@{xb::xbDate}!iEndianType@{iEndianType}} +\index{iEndianType@{iEndianType}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{iEndianType}{iEndianType}} +{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+Ssv\+::i\+Endian\+Type = 0\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [protected]}, {\ttfamily [inherited]}} + +\mbox{\Hypertarget{classxb_1_1xbSsv_a9dec3164c3b264882df634915ecf21da}\label{classxb_1_1xbSsv_a9dec3164c3b264882df634915ecf21da}} +\index{xb::xbDate@{xb::xbDate}!sNullString@{sNullString}} +\index{sNullString@{sNullString}!xb::xbDate@{xb::xbDate}} +\doxysubsubsection{\texorpdfstring{sNullString}{sNullString}} +{\footnotesize\ttfamily \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} xb\+::xb\+Ssv\+::s\+Null\+String = \char`\"{}\char`\"{}\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [protected]}, {\ttfamily [inherited]}} + + + +The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} +\item +/mnt/1\+Tdata/xbase/xbase64-\/4.\+0.\+2/src/include/\mbox{\hyperlink{xbdate_8h}{xbdate.\+h}}\item +/mnt/1\+Tdata/xbase/xbase64-\/4.\+0.\+2/src/core/\mbox{\hyperlink{xbdate_8cpp}{xbdate.\+cpp}}\end{DoxyCompactItemize} |