#include <dcl/Config.h>
#include <time.h>
#include <string.h>
#include <wctype.h>
#include <float.h>
#include <math.h>
#include <wchar.h>
#include <dcl/Object.h>
#include <dcl/Charset.h>
#include <dcl/SQL.h>
Go to the source code of this file.
◆ __ABS()
Definition at line 861 of file SQLField.cpp.
862{
863 return n < 0 ? -
n :
n;
864}
void CharsetConvertException *size_t n
◆ __DCL_ASSERT()
__DCL_ASSERT |
( |
n<= | INT32_MAX | ) |
|
◆ catch()
◆ IMPLEMENT_CLASSINFO()
◆ release()
◆ switch()
Definition at line 938 of file SQLField.cpp.
938 {
944 }
945 else {
949 }
950 break;
951 }
957 }
958 else {
962 }
963 break;
964 }
970 }
971 else {
975 }
976 break;
977 }
980 break;
981 }
986 __T(
"%04d-%02d-%02d"),
990 );
991 break;
992 }
997 __T(
"%02d:%02d:%02d.%03d"),
1002 );
1003 break;
1004 }
1009 __T(
"%04d-%02d-%02d %02d:%02d:%02d.%03d"),
1017 );
1018 break;
1019 }
1024 __T(
"%04d-%02d-%02d %02d:%02d:%02d.%03d %+03d%02d"),
1034 );
1035 break;
1036 }
1040 if (
_r.nYears < 0 ||
_r.nMonths < 0) {
1042
1046 );
1047 }
1048 else {
1050
1054 );
1055 }
1056 break;
1057 }
1062 ||
_r.nHours < 0 ||
_r.nMins < 0
1063 ||
_r.nSecs < 0 ||
_r.nFracs < 0
1064 ) {
1066
1067 __T(
"-%d %02d:%02d:%02d.%03d"),
1072 -(
_r.nFracs / 1000000)
1073 );
1074 }
1075 else {
1077
1078 __T(
"+%d %02d:%02d:%02d.%03d"),
1083 (
_r.nFracs / 1000000)
1084 );
1085 }
1086 break;
1087 }
1091 if (
_r.nYears < 0 ||
_r.nMonths < 0) {
1093
1097 );
1098 }
1099 else if (
_r.nYears > 0 ||
_r.nMonths > 0) {
1101
1105 );
1106 }
1107 else if (
_r.nDays < 0
1108 ||
_r.nHours < 0 ||
_r.nMins < 0
1109 ||
_r.nSecs < 0 ||
_r.nFracs < 0
1110 ) {
1112
1113 __T(
"-%d %02d:%02d:%02d.%03d"),
1118 -(
_r.nFracs / 1000000)
1119 );
1120 }
1121 else {
1123
1124 __T(
"+%d %02d:%02d:%02d.%03d"),
1129 (
_r.nFracs / 1000000)
1130 );
1131 }
1132 break;
1133 }
1138 break;
1139 }
1145 result = String::tryString(
_r, 20);
1146 break;
1147 }
1148 default: {
1150 }
1151 }
#define __DCL_ASSERT(expr)
String CharsetConvertException *size_t nDataSize
String toString(unsigned _base=10) const
String toString(unsigned _base=10) const
String toString(unsigned _base=10) const
String toString(unsigned _base=10) const
◆ __dataLength
◆ _r
◆ buf
ByteBuffer* buf = ByteBuffer::create(n) |
◆ nDataSize
◆ result
◆ try