Data Types

This commit is contained in:
Michael Schimmel
2025-08-25 14:48:06 +02:00
parent ce653c83b1
commit c9e28a946d
10 changed files with 374 additions and 3 deletions
+6
View File
@@ -23,6 +23,7 @@ type
private
FValue: TDateTime;
function GetDataType: IDataType;
function GetAsString: string;
function GetValue: TDateTime;
public
constructor Create(const AValue: TDateTime);
@@ -65,6 +66,11 @@ begin
Result := TImplDataTimestampType.Singleton;
end;
function TImplDataTimestampValue.GetAsString: string;
begin
Result := DateTimeToStr(FValue);
end;
function TImplDataTimestampValue.GetValue: TDateTime;
begin
Result := FValue;