Showing the changes to Source/Libraries/TimeSeriesPlatformLibrary/Data/DataRow.cpp (1 of 19 files). Show all
Unified · Split
| @@ -255,22 +255,22 @@ void DataRow::SetBooleanValue(const string& columnName, const Nullable<bool>& va · 254 unmodified lines | ||
| 255 | 255 | SetBooleanValue(GetColumnIndex(columnName), value); |
| 256 | 256 | } |
| 257 | 257 | |
| 258 | −Nullable<time_t> DataRow::ValueAsDateTime(int32_t columnIndex) const | |
| 258 | +Nullable<DateTime> DataRow::ValueAsDateTime(int32_t columnIndex) const | |
| 259 | 259 | { |
| 260 | − return GetValue<time_t>(columnIndex, DataType::DateTime); | |
| 260 | + return GetValue<DateTime>(columnIndex, DataType::DateTime); | |
| 261 | 261 | } |
| 262 | 262 | |
| 263 | −Nullable<time_t> DataRow::ValueAsDateTime(const string& columnName) const | |
| 263 | +Nullable<DateTime> DataRow::ValueAsDateTime(const string& columnName) const | |
| 264 | 264 | { |
| 265 | 265 | return ValueAsDateTime(GetColumnIndex(columnName)); |
| 266 | 266 | } |
| 267 | 267 | |
| 268 | −void DataRow::SetDateTimeValue(int32_t columnIndex, const Nullable<time_t>& value) | |
| 268 | +void DataRow::SetDateTimeValue(int32_t columnIndex, const Nullable<DateTime>& value) | |
| 269 | 269 | { |
| 270 | − SetValue<time_t>(columnIndex, value, DataType::DateTime); | |
| 270 | + SetValue<DateTime>(columnIndex, value, DataType::DateTime); | |
| 271 | 271 | } |
| 272 | 272 | |
| 273 | −void DataRow::SetDateTimeValue(const string& columnName, const Nullable<time_t>& value) | |
| 273 | +void DataRow::SetDateTimeValue(const string& columnName, const Nullable<DateTime>& value) | |
| 274 | 274 | { |
| 275 | 275 | SetDateTimeValue(GetColumnIndex(columnName), value); |
| 276 | 276 | } |