2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.Data / System.Data.SqlTypes / ChangeLog
1 2004-05-18  Atsushi Enomoto  <atsushi@ximian.com>
2
3         * SqlDecimal.cs : Fixed Truncate() to work fine.
4         * SqlMoney.cs : Added one hack line in operator/ to work fine.
5
6 2004-05-18  Atsushi Enomoto  <atsushi@ximian.com>
7
8         * SqlDecimal.cs : Fixed AdjustScale(). When reducing digits, scale
9           parameter was incorrect.
10
11 2004-05-18  Atsushi Enomoto  <atsushi@ximian.com>
12
13         * SqlDecimal.cs :
14           - .ctor(double) initializes the precision as 17. If not sufficient,
15             it calls AdjustScale(), and if too much then it calls Round().
16           - Data should not return the internal array otherwise it might be
17             modified by outer code.
18           - Reimplemented AdjustScale() to work fine.
19           - Reimplemented Parse(). It should rather use Decimal.Parse() 
20             rather than SqlDouble.Parse() for parsable value range difference.
21           - Reimplemented Round(). Don't use double.
22           - Fixed ToString() to return "Null" for null value.
23           - Fixed explicit let operator to use double .ctor, not decimal
24             .ctor() so that precision can be handled in the same way as double.
25
26 2004-05-17  Atsushi Enomoto  <atsushi@ximian.com>
27
28         * SqlBinary.cs,
29           SqlDateTime.cs,
30           SqlDouble.cs,
31           SqlGuid.cs,
32           SqlMoney.cs,
33           SqlSingle.cs,
34           SqlString.cs : If values are null, ToString() should return "Null".
35
36 2004-05-11  Atsushi Enomoto  <atsushi@ximian.com>
37
38         * SqlMoney.cs : Handle fixed digits correctly.
39           Round decimal value before casting into other numeric types.
40         * SqlInt16.cs,
41           SqlInt32.cs,
42           SqlInt64.cs : Round SqlMoney decimal value before casting into them.
43         * SqlDateTime.cs :
44           Added range check.
45           Years and months were ignored in some .ctor().
46           Return invariant culture string in ToString().
47           Return null for operator - when operand is null.
48
49 2004-05-09  Gert Driesen (drieseng@users.sourceforge.net)
50         * SqlString.cs: change accessibility of CompareOptions property
51         to private, commented out unreachable code
52
53 2004-04-12  Atsushi Enomoto  <atsushi@ximian.com>
54
55         * SqlBoolean.cs : Allow "0" and "1" on Parse(). Allow SqlString.Null
56           in conversion.
57         * SqlString.cs : CompareOption should not be None.
58
59 2004-04-01  Lluis Sanchez Gual  <lluis@ximian.com>
60
61         * SqlNullValueException.cs: Use a more clarifying error message.
62           
63 2003-12-19  Tim Coleman <tim@timcoleman.com>
64         * SqlBytes.cs SqlChars.cs SqlDate.cs SqlStreamChars.cs SqlTime.cs
65         * SqlUtcDateTime.cs SqlXmlReader.cs:
66                 New stubs added
67 2003-06-03  Ville Palo <vi64pa@kolumbus.fi>
68
69         * SqlBinary.cs: Changed one SqlTypeException --> IndexOutOfRange
70         * SqlMoney.cs: checkings
71         
72 2003-06-02  Ville Palo <vi64pa@kolumbus.fi>
73
74         * SqlString.cs: implementes less than and greater than operators.
75         Added some checks to ctor.
76                 
77 2003-06-01  Ville Palo <vi64pa@kolumbus.fi>
78
79         * SqlString.cs: added null checking
80         
81 2003-05-28  Ville Palo <vi64pa@kolumbus.fi>
82
83         * SqlMoney.cs: little fixes and clean ups
84         
85 2003-05-28  Ville Palo <vi64pa@kolumbus.fi>
86
87         * SqlInt16.cs: more checked fixes.
88         * SqlInt64.cs: checked fixes.
89         * SqlSingle.cs: checked fixes.
90         
91 2003-05-28  Ville Palo <vi64pa@kolumbus.fi>
92
93         * SqlInt16.cs: little fixes.
94         
95 2003-05-28  Ville Palo <vi64pa@kolumbus.fi>
96
97         * SqlDouble.cs: Some fixes. Mostly infinity checks
98         * SqlSingle.cs: tiny fixes.
99         * SqlInt64.cs: checked fix.
100         
101 2003-05-28  Ville Palo <vi64pa@kolumbus.fi>
102
103         * ChangeLog: Added this.
104         * SqlByte.cs: Fixed checked parts
105         
106