Server Framework - Helper Methods

Boolean.GetHashCode

This method returns the hash code for the instance.

Defined in: SystemHelperMethods

Function Boolean.GetHashCode: Integer;

Boolean.ToString

This method returns a string representation of the Boolean value

Defined in: SystemHelperMethods

Function Boolean.ToString: String;

Boolean.TryParse

This method tries to convert the given string aString to the equivalentBoolean value.

If the conversion is successful, TryParse returns true and aResult willcontain the converted value.

On any conversion error, TryParse returns false and aResult remains same.

Defined in: SystemHelperMethods

Function Boolean.TryParse(Const aString : String; Var aResult : Boolean): Boolean;

Byte.FromString

This method tries to convert the given string aString to the equivalent Byte value.

If aString does not contain a valid Byte value, FromString raises an exception.

Defined in: SystemHelperMethods

Function Byte.FromString(Const aString : String): Byte;

Byte.GetHashCode

This method returns the hash code for the instance.

Defined in: SystemHelperMethods

Function Byte.GetHashCode: Integer;

Byte.ToString

Converts the Byte instance to the equivalent string representation.

Defined in: SystemHelperMethods

Function Byte.ToString: String;

Byte.TryParse

This method tries to convert the given string aString to the equivalentByte value.

If the conversion is successful, TryParse returns true and aResult willcontain the converted value.

On any conversion error, TryParse returns false and aResult remains same.

Defined in: SystemHelperMethods

Function Byte.TryParse(Const aString : String; Var aResult : Byte): Boolean;

Cardinal.FromString

This method tries to convert the given string aString to the equivalent Cardinal value.

If aString does not contain a valid Cardinal value, FromString raises an exception.

Defined in: SystemHelperMethods

Function Cardinal.FromString(Const aString : String): Cardinal;

Cardinal.GetHashCode

This method returns the hash code for the instance.

Defined in: SystemHelperMethods

Function Cardinal.GetHashCode: Integer;

Cardinal.ToString

Converts the Cardinal instance to the equivalent string representation.

Defined in: SystemHelperMethods

Function Cardinal.ToString: String;

Cardinal.TryParse

This method tries to convert the given string aString to the equivalentCardinal value.

If the conversion is successful, TryParse returns true and aResult willcontain the converted value.

On any conversion error, TryParse returns false and aResult remains same.

Defined in: SystemHelperMethods

Function Cardinal.TryParse(Const aString : String; Var aResult : Cardinal): Boolean;

Char.CompareTo

This method performs a comparison between the character (Self)and another character (aChar).

Return values are:- 1 if the Char is greater than the provided char (aChar),- -1 if the Char is less than the other char (aChar) or- 0 if both strings are equal.

Defined in: SystemHelperMethods

Function Char.CompareTo(aChar : Char): Integer;

Char.Equals

This method compares the character (Self) with another character (aChar) tocheck for equality.

Defined in: SystemHelperMethods

Function Char.Equals(aChar : Char): Boolean;

Char.GetHashCode

This method returns a Hash code. For the Char type the hash code isequal to the actual value of the char variable.

Defined in: SystemHelperMethods

Function Char.GetHashCode: Integer;

Char.IsControl

This method indicates whether the character is a control character.

Defined in: SystemHelperMethods

Function Char.IsControl(aString : String; aIndex : Integer): Boolean;

Char.IsControl

This method indicates whether the character is a control character.

Defined in: SystemHelperMethods

Function Char.IsControl: Boolean;

Char.IsDigit

This method indicates whether the character is a digit character.

Defined in: SystemHelperMethods

Function Char.IsDigit(aString : String; aIndex : Integer): Boolean;

Char.IsDigit

This method indicates whether the character is a digit character.

Defined in: SystemHelperMethods

Function Char.IsDigit: Boolean;

Char.IsLetter

This method indicates whether the character is a letter character.

Defined in: SystemHelperMethods

Function Char.IsLetter(aString : String; aIndex : Integer): Boolean;

Char.IsLetter

This method indicates whether the character is a letter character.

Defined in: SystemHelperMethods

Function Char.IsLetter: Boolean;

Char.IsLetterOrDigit

This method indicates whether the character is a digit or letter character.

Defined in: SystemHelperMethods

Function Char.IsLetterOrDigit(aString : String; aIndex : Integer): Boolean;

Char.IsLetterOrDigit

This method indicates whether the character is a digit or letter character.

Defined in: SystemHelperMethods

Function Char.IsLetterOrDigit: Boolean;

Char.IsLower

This method indicates whether the character is a lowercase character.

Defined in: SystemHelperMethods

Function Char.IsLower(aString : String; aIndex : Integer): Boolean;

Char.IsLower

This method indicates whether the character is a lowercase character.

Defined in: SystemHelperMethods

Function Char.IsLower: Boolean;

Char.IsPunctuation

This method indicates whether the character is a punctuation character.

Defined in: SystemHelperMethods

Function Char.IsPunctuation(aString : String; aIndex : Integer): Boolean;

Char.IsPunctuation

This method indicates whether the character is a punctuation character.

Defined in: SystemHelperMethods

Function Char.IsPunctuation: Boolean;

Char.IsSeparator

This method indicates whether the character is a separator character.

Defined in: SystemHelperMethods

Function Char.IsSeparator(aString : String; aIndex : Integer): Boolean;

Char.IsSeparator

This method indicates whether the character is a separator character.

Defined in: SystemHelperMethods

Function Char.IsSeparator: Boolean;

Char.IsUpper

This method indicates whether the character is an uppercase character.

Defined in: SystemHelperMethods

Function Char.IsUpper(aString : String; aIndex : Integer): Boolean;

Char.IsUpper

This method indicates whether the character is an uppercase character.

Defined in: SystemHelperMethods

Function Char.IsUpper: Boolean;

Char.IsWhiteSpace

This method indicates whether the character is a white space character.

Defined in: SystemHelperMethods

Function Char.IsWhiteSpace(aString : String; aIndex : Integer): Boolean;

Char.IsWhiteSpace

This method indicates whether the character is a white space character.

Defined in: SystemHelperMethods

Function Char.IsWhiteSpace: Boolean;

Char.ToByte

Returns the value of the character cast to byte.

Defined in: SystemHelperMethods

Function Char.ToByte: Byte;

Char.ToInteger

Returns the value of the character cast to integer.

Defined in: SystemHelperMethods

Function Char.ToInteger: Integer;

Char.ToLower

This method returns the lowercase version of the character (aChar).

Defined in: SystemHelperMethods

Function Char.ToLower(aChar : Char): Char;

Char.ToUpper

This method returns the uppercase version of the character (aChar).

Defined in: SystemHelperMethods

Function Char.ToUpper(aChar : Char): Char;

Currency.FromString

This method tries to convert the given string aString to the equivalent Currency value.

If aString does not contain a valid Currency value, FromString raises an exception.

Defined in: SystemHelperMethods

Function Currency.FromString(Const aString : String): Currency;

Currency.GetHashCode

This method returns the hash code for the instance.

Defined in: SystemHelperMethods

Function Currency.GetHashCode: Integer;

Currency.ToString

Converts the Currency instance to the equivalent string representation.

Defined in: SystemHelperMethods

Function Currency.ToString: String;

Currency.TryParse

This method tries to convert the given string aString to the equivalentCurrency value.

If the conversion is successful, TryParse returns true and aResult willcontain the converted value.

On any conversion error, TryParse returns false and aResult remains same.

Defined in: SystemHelperMethods

Function Currency.TryParse(Const aString : String; Var aResult : Currency): Boolean;

Double.FromString

This method tries to convert the given string S to a double value.

If aString does not contain a valid double value, FromString raises an exception.

Defined in: SystemHelperMethods

Function Double.FromString(Const aString : String): Double;

Double.GetHashCode

This method returns the hash code for the instance.

Defined in: SystemHelperMethods

Function Double.GetHashCode: Integer;

Double.IsInfinity

This method checks whether the floating-point value represents positive ornegative infinity.

Defined in: SystemHelperMethods

Function Double.IsInfinity: Boolean;

Double.IsNan

This method checks if the floating-point value represents NaN (Not a Number).

Defined in: SystemHelperMethods

Function Double.IsNan: Boolean;

Double.IsNegativeInfinity

This method checks if the floating-point value represents negative infinity.

Defined in: SystemHelperMethods

Function Double.IsNegativeInfinity: Boolean;

Double.IsPositiveInfinity

This method checks if the floating-point value represents positive infinity.

Defined in: SystemHelperMethods

Function Double.IsPositiveInfinity: Boolean;

Double.ToString

This method returns a string representation of a floating point value.

Defined in: SystemHelperMethods

Function Double.ToString: String;

Double.TryParse

This method tries to convert the given string aString to a double value.

If the conversion is successful, TryParse returns true and aResult willcontain the converted value.

On any conversion error, TryParse returns false and aResult remains same.

Defined in: SystemHelperMethods

Function Double.TryParse(Const aString : String; Var aResult : Double): Boolean;

Extended.FromString

This method tries to convert the given string aString to the equivalent Extended value.

If aString does not contain a valid Extended value, FromString raises an exception.

Defined in: SystemHelperMethods

Function Extended.FromString(Const aString : String): Extended;

Extended.GetHashCode

This method returns the hash code for the instance.

Defined in: SystemHelperMethods

Function Extended.GetHashCode: Integer;

Extended.ToString

Converts the Extended instance to the equivalent string representation.

Defined in: SystemHelperMethods

Function Extended.ToString: String;

Extended.TryParse

This method tries to convert the given string aString to the equivalentExtended value.

If the conversion is successful, TryParse returns true and aResult willcontain the converted value.

On any conversion error, TryParse returns false and aResult remains same.

Defined in: SystemHelperMethods

Function Extended.TryParse(Const aString : String; Var aResult : Extended): Boolean;

Int64.FromString

This method tries to convert the given string aString to the equivalent Int64 value.

If aString does not contain a valid Int64 value, FromString raises an exception.

Defined in: SystemHelperMethods

Function Int64.FromString(Const aString : String): Int64;

Int64.GetHashCode

This method returns the hash code for the instance.

Defined in: SystemHelperMethods

Function Int64.GetHashCode: Integer;

Int64.ToString

Converts the Int64 instance to the equivalent string representation.

Defined in: SystemHelperMethods

Function Int64.ToString: String;

Int64.TryParse

This method tries to convert the given string aString to the equivalentInt64 value.

If the conversion is successful, TryParse returns true and aResult willcontain the converted value.

On any conversion error, TryParse returns false and aResult remains same.

Defined in: SystemHelperMethods

Function Int64.TryParse(Const aString : String; Var aResult : Int64): Boolean;

Integer.FromString

This method tries to convert the given string aString to the equivalent Integer value.

If aString does not contain a valid Integer value, FromString raises an exception.

Defined in: SystemHelperMethods

Function Integer.FromString(Const aString : String): Integer;

Integer.GetHashCode

This method returns a Hash code. For the Integer type the hash code isequal to the actual value of the integer variable.

Defined in: SystemHelperMethods

Function Integer.GetHashCode: Integer;

Integer.ToHexString

This method returns a string representation of the integer in hexadecimalformat.

Defined in: SystemHelperMethods

Function Integer.ToHexString: String;

Integer.ToString

This method returns the string representation of the integer.

Defined in: SystemHelperMethods

Function Integer.ToString: String;

Integer.TryParse

This method tries to convert the given string aString to the equivalentInteger value.

If the conversion is successful, TryParse returns true and aResult willcontain the converted value. On any conversion error, TryParse returns falseand aResult remains same.

Defined in: SystemHelperMethods

Function Integer.TryParse(Const aString : String; Var aResult : Integer): Boolean;

Longint.FromString

This method tries to convert the given string aString to the equivalent LongInt value.

If aString does not contain a valid LongInt value, FromString raises an exception.

Defined in: SystemHelperMethods

Function Longint.FromString(Const aString : String): Longint;

Longint.GetHashCode

This method returns the hash code for the instance.

Defined in: SystemHelperMethods

Function Longint.GetHashCode: Integer;

Longint.ToString

Converts the LongInt instance to the equivalent string representation.

Defined in: SystemHelperMethods

Function Longint.ToString: String;

Longint.TryParse

This method tries to convert the given string aString to the equivalentLongInt value.

If the conversion is successful, TryParse returns true and aResult willcontain the converted value.

On any conversion error, TryParse returns false and aResult remains same.

Defined in: SystemHelperMethods

Function Longint.TryParse(Const aString : String; Var aResult : Longint): Boolean;

Longword.FromString

This method tries to convert the given string aString to the equivalent LongWord value.

If aString does not contain a valid LongWord value, FromString raises an exception.

Defined in: SystemHelperMethods

Function Longword.FromString(Const aString : String): LongWord;

Longword.GetHashCode

This method returns the hash code for the instance.

Defined in: SystemHelperMethods

Function Longword.GetHashCode: Integer;

Longword.ToString

Converts the Longword instance to the equivalent string representation.

Defined in: SystemHelperMethods

Function Longword.ToString: String;

Longword.TryParse

This method tries to convert the given string aString to the equivalentLongWord value.

If the conversion is successful, TryParse returns true and aResult willcontain the converted value.

On any conversion error, TryParse returns false and aResult remains same.

Defined in: SystemHelperMethods

Function Longword.TryParse(Const aString : String; Var aResult : LongWord): Boolean;

pointer.ToHexString

This method returns a string representation of the pointer in hexadecimalformat.

Defined in: SystemHelperMethods

Function pointer.ToHexString: String;

ShortInt.FromString

This method tries to convert the given string aString to the equivalent ShortInt value.

If aString does not contain a valid ShortInt value, FromString raises an exception.

Defined in: SystemHelperMethods

Function ShortInt.FromString(Const aString : String): ShortInt;

Shortint.GetHashCode

This method returns the hash code for the instance.

Defined in: SystemHelperMethods

Function Shortint.GetHashCode: Integer;

ShortInt.ToString

Converts the ShortInt instance to the equivalent string representation.

Defined in: SystemHelperMethods

Function ShortInt.ToString: String;

ShortInt.TryParse

This method tries to convert the given string aString to the equivalentCardinal value.

If the conversion is successful, TryParse returns true and aResult willcontain the converted value.

On any conversion error, TryParse returns false and aResult remains same.

Defined in: SystemHelperMethods

Function ShortInt.TryParse(Const aString : String; Var aResult : ShortInt): Boolean;

Single.FromString

This method tries to convert the given string aString to the equivalent Single value.

If aString does not contain a valid Single value, FromString raises an exception.

Defined in: SystemHelperMethods

Function Single.FromString(Const aString : String): Single;

Single.GetHashCode

This method returns the hash code for the instance.

Defined in: SystemHelperMethods

Function Single.GetHashCode: Integer;

Single.ToString

Converts the Single instance to the equivalent string representation.

Defined in: SystemHelperMethods

Function Single.ToString: String;

Single.TryParse

This method tries to convert the given string aString to the equivalentExtended value.

If the conversion is successful, TryParse returns true and aResult willcontain the converted value.

On any conversion error, TryParse returns false and aResult remains same.

Defined in: SystemHelperMethods

Function Single.TryParse(Const aString : String; Var aResult : Single): Boolean;

SmallInt.FromString

This method tries to convert the given string aString to the equivalent SmallInt value.

If aString does not contain a valid SmallInt value, FromString raises an exception.

Defined in: SystemHelperMethods

Function SmallInt.FromString(Const aString : String): SmallInt;

Smallint.GetHashCode

This method returns the hash code for the instance.

Defined in: SystemHelperMethods

Function Smallint.GetHashCode: Integer;

SmallInt.ToString

Converts the SmallInt instance to the equivalent string representation.

Defined in: SystemHelperMethods

Function SmallInt.ToString: String;

SmallInt.TryParse

This method tries to convert the given string aString to the equivalentSmallInt value.

If the conversion is successful, TryParse returns true and aResult willcontain the converted value.

On any conversion error, TryParse returns false and aResult remains same.

Defined in: SystemHelperMethods

Function SmallInt.TryParse(Const aString : String; Var aResult : SmallInt): Boolean;

String.CharAt

Returns the character at aIndex. Effectively equivalent of expression "myString[aIndex]".

Defined in: SystemHelperMethods

Function String.CharAt(aIndex : Integer): Char;

String.Clear

This method Clears the contents of the string making it equal to anempty String ().

Defined in: SystemHelperMethods

Procedure String.Clear;

String.Compare

This type method performs a case insensitive comparison of two strings.

Return values can be:- 1 if the first String (StrA) is greater than the Second String (StrB),- -1 if the String (StrA) is less than the other string (StrB) or- 0 if both strings are equal.

Defined in: SystemHelperMethods

Function String.Compare(StrA : String;
                        StrB : String;
                        StringComparison : TStringComparison): Integer;

String.Compare

This type method performs a case insensitive comparison of two strings.

Return values can be:- 1 if the first String (StrA) is greater than the Second String (StrB),- -1 if the String (StrA) is less than the other string (StrB) or- 0 if both strings are equal.

Defined in: SystemHelperMethods

Function String.Compare(StrA : String; StrB : String): Integer;

String.CompareTo

This method performs a case insensitive comparison between the String (Self)and another string (aString).

Defined in: SystemHelperMethods

Function String.CompareTo(aString : String; StringComparison : TStringComparison): Integer;

String.CompareTo

This method performs a case insensitive comparison between the String (Self)and another string (aString).

Defined in: SystemHelperMethods

Function String.CompareTo(aString : String): Integer;

String.Delete

This method deletes Count characters from the String, starting atposition StartIndex and returns the resulting string.

Defined in: SystemHelperMethods

Function String.Delete(StartIndex : Integer; Count : Integer): String;

String.EndsWith

This method returns the true if the string (self) starts with thecharacters contained in another string (aString). This comparison iscase insensitive.

Defined in: SystemHelperMethods

Function String.EndsWith(aString : String; StringComparison : TStringComparison): Boolean;

String.EndsWith

This method returns the true if the string (self) starts with thecharacters contained in another string (aString). This comparison iscase insensitive.

Defined in: SystemHelperMethods

Function String.EndsWith(aString : String): Boolean;

String.Equals

This method performs a case insensitive comparison of the string (self) withanother string (aString), returning true if the strings match.

Defined in: SystemHelperMethods

Function String.Equals(aString : String): Boolean;

String.FromInteger

This method returns the string representation of the given integer "aValue".

Defined in: SystemHelperMethods

Function String.FromInteger(aValue : Integer): String;

String.GetHashCode

This method returns an integer (32 bit) Hash code for the string.

Defined in: SystemHelperMethods

Function String.GetHashCode: Integer;

String.IndexOf

This method returns the first position of a substring within the string.

Defined in: SystemHelperMethods

Function String.IndexOf(aString : String; aStartIndex : Integer): Integer;

String.IndexOf

This method returns the first position of a substring within the string.

Defined in: SystemHelperMethods

Function String.IndexOf(aString : String): Integer;

String.Insert

This method inserts aString into the String at position StartIndex.

Defined in: SystemHelperMethods

Function String.Insert(StartIndex : Integer; aString : String): String;

String.IsEmpty

This method returns true if the string (Self) contains no characters.

Defined in: SystemHelperMethods

Function String.IsEmpty: Boolean;

String.Length

This method returns the number of characters in the string.

Defined in: SystemHelperMethods

Function String.Length: Integer;

String.Quote

This method returns a copy of the string enclosed in double quotes.

Defined in: SystemHelperMethods

Function String.Quote: String;

String.StartsWith

This method returns the true if the string (self) starts with thecharacters contained in another string (aString). This comparison iscase insensitive.

Defined in: SystemHelperMethods

Function String.StartsWith(aString : String; StringComparison : TStringComparison): Boolean;

String.StartsWith

This method returns the true if the string (self) starts with thecharacters contained in another string (aString). This comparison iscase insensitive.

Defined in: SystemHelperMethods

Function String.StartsWith(aString : String): Boolean;

String.SubString

This method returns the substring of the string (self) which contains aLenthcharacters starting from position aStartIndex. If aLength is greater thanSelf.Length it will be considered to be equal to Self.Length.

Defined in: SystemHelperMethods

Function String.SubString(aStartIndex : Integer): String;

String.SubString

This method returns the substring of the string (self) which contains aLenthcharacters starting from position aStartIndex. If aLength is greater thanSelf.Length it will be considered to be equal to Self.Length.

Defined in: SystemHelperMethods

Function String.SubString(aStartIndex : Integer; aLength : Integer): String;

String.ToBoolean

This method converts the string to a Boolean.

Defined in: SystemHelperMethods

Function String.ToBoolean: Boolean;

String.ToDateTime

This method converts the string representation of a date and time intoa TDateTime format value.

The TimeZoneOffset parameter indicates which TimeZone should be consideredin the conversion.

Defined in: SystemHelperMethods

Function String.ToDateTime: TDateTime;

String.ToDateTime

This method converts the string representation of a date and time intoa TDateTime format value.

The TimeZoneOffset parameter indicates which TimeZone should be consideredin the conversion.

Defined in: SystemHelperMethods

Function String.ToDateTime(TimeZoneOffset : Integer): TDateTime;

String.ToFloat

This method converts the string to a double. If the string contents arenot compatible with an integer, an exception is raised.

Defined in: SystemHelperMethods

Function String.ToFloat: Double;

String.ToInteger

This method converts the string to an integer. If the string contents arenot compatible with an integer, an exception is raised.

Defined in: SystemHelperMethods

Function String.ToInteger: Integer;

String.ToLower

This method returns an all lower case version of the string (self).

Defined in: SystemHelperMethods

Function String.ToLower: String;

String.ToUpper

This method returns an all upper case version of the string (self).

Defined in: SystemHelperMethods

Function String.ToUpper: String;

String.Trim

This method returns the caller string (Self) with leading and trailing white spacecharacters removed.

Note that caller is not modified in this operation.

Defined in: SystemHelperMethods

Function String.Trim: String;

String.TrimEnd

This method returns the caller string (Self) with trailing white spacecharacters removed.

Note that caller is not modified in this operation.

Defined in: SystemHelperMethods

Function String.TrimEnd: String;

String.TrimStart

This method returns the caller string (Self) with leading white spacecharacters removed.

Note that caller is not modified in this operation.

Defined in: SystemHelperMethods

Function String.TrimStart: String;

String.UnQuote

This method returns a copy of the string removing double quotes from thestart and end positions.

Defined in: SystemHelperMethods

Function String.UnQuote: String;

TDateTime.AddDays

This methods adds as many as "ANumberOfDays" days to the current TDateTimeinstance and returns the resulting TDateTime value. The parameter can benegative or positive.

Defined in: SystemHelperMethods

Function TDateTime.AddDays(aNumberOfDays : Integer): TDateTime;

TDateTime.AddHours

This methods adds as many as "aNumberOfHours" hours to the current TDateTimeinstance and returns the resulting TDateTime value. The parameter can benegative or positive.

Defined in: SystemHelperMethods

Function TDateTime.AddHours(aNumberOfHours : Integer): TDateTime;

TDateTime.AddMilliseconds

This methods adds as many as "aNumberOfMilliseconds" milliseconds to thecurrent TDateTime instance and returns the resulting TDateTime value. The parameter can benegative or positive.

Defined in: SystemHelperMethods

Function TDateTime.AddMilliseconds(aNumberOfMilliseconds : Integer): TDateTime;

TDateTime.AddMinutes

This methods adds as many as "aNumberOfMinutes" minutes to the current TDateTimeinstance and returns the resulting TDateTime value. The parameter can benegative or positive.

Defined in: SystemHelperMethods

Function TDateTime.AddMinutes(aNumberOfMinutes : Integer): TDateTime;

TDateTime.AddMonths

This methods adds as many as "aNumberOfMonths" months to the current TDateTimeinstance and returns the resulting TDateTime value. The parameter can benegative or positive.

Defined in: SystemHelperMethods

Function TDateTime.AddMonths(aNumberOfMonths : Integer): TDateTime;

TDateTime.AddSeconds

This methods adds as many as "aNumberOfSeconds" seconds to the current TDateTimeinstance and returns the resulting TDateTime value. The parameter can benegative or positive.

Defined in: SystemHelperMethods

Function TDateTime.AddSeconds(aNumberOfSeconds : Integer): TDateTime;

TDateTime.AddYears

This methods adds as many as "aNumberOfYears" years to the current TDateTimeinstance and returns the resulting TDateTime value. The parameter can benegative or positive.

Defined in: SystemHelperMethods

Function TDateTime.AddYears(aNumberOfYears : Integer): TDateTime;

TDateTime.Compare

Compares A and B TDatetime values. Return value is:-1: if value A is less than value B.

0: if two values are equal.

1: if value A is greater than value B.

Defined in: SystemHelperMethods

Function TDateTime.Compare(A : TDateTime; B : TDateTime): Integer;

TDateTime.CompareTo

Compares the value of this instance and aValue. Return value is:-1: if this instance is less than aValue.

0: if this instance is equal to aValue.

1: if this instance is greater than aValue.

Defined in: SystemHelperMethods

Function TDateTime.CompareTo(aValue : TDateTime): Integer;

TDateTime.Date

Returns only the date portion of the DateTime value.

Defined in: SystemHelperMethods

Function TDateTime.Date: TDateTime;

TDateTime.Day

Returns the day of the month.

Defined in: SystemHelperMethods

Function TDateTime.Day: Word;

TDateTime.DayOfTheWeek

Returns the day of the week represented by the DateTime value (aDate) whereMonday is 1 and Sunday is 7.

Defined in: SystemHelperMethods

Function TDateTime.DayOfTheWeek(aDate : TDateTime): Word;

TDateTime.DayOfTheYear

Returns the day of the year represented by the DateTime value (aDate). This value willbe in range 1-366.

Defined in: SystemHelperMethods

Function TDateTime.DayOfTheYear(aDate : TDateTime): Word;

TDateTime.DaysInMonth

This method will return the number of days in the given month "aMonth" ofyear "aYear".

Defined in: SystemHelperMethods

Function TDateTime.DaysInMonth(aYear : Integer; aMonth : Integer): Integer;

TDateTime.EncodeDate

This method returns a new TDateTime object with the specified parameters.

Defined in: SystemHelperMethods

Function TDateTime.EncodeDate(aYear : Integer; aMonth : Integer; aDay : Integer): TDateTime;

TDateTime.EncodeDateTime

This method returns a new TDateTime object with the specified parameters.

Defined in: SystemHelperMethods

Function TDateTime.EncodeDateTime(aYear : Integer;
                                  aMonth : Integer;
                                  aDay : Integer;
                                  aHour : Integer;
                                  aMinute : Integer;
                                  aSecond : Integer;
                                  aMillisecond : Integer): TDateTime;

TDateTime.EncodeTime

This method returns a new TDateTime object with the specified parameters.

Defined in: SystemHelperMethods

Function TDateTime.EncodeTime(aHour : Integer;
                              aMinute : Integer;
                              aSecond : Integer;
                              aMillisecond : Integer): TDateTime;

TDateTime.FromString

Converts given string aString to a TDateTime value. An exception is raised ifaString does not contain a valid TDateTime value.

Defined in: SystemHelperMethods

Function TDateTime.FromString(Const aString : String): TDateTime;

TDateTime.GetHashCode

This method returns the hash code for the instance.

Defined in: SystemHelperMethods

Function TDateTime.GetHashCode: Integer;

TDateTime.Hour

Returns the hour portion of the DateTime value.

Defined in: SystemHelperMethods

Function TDateTime.Hour: Word;

TDateTime.IsLeapYear

This method checks if the year specified by "aYear" is a leap year.

Defined in: SystemHelperMethods

Function TDateTime.IsLeapYear(aYear : Integer): Boolean;

TDateTime.Millisecond

Returns the millisecond portion of the DateTime value.

Defined in: SystemHelperMethods

Function TDateTime.Millisecond: Word;

TDateTime.Minute

Returns the minute portion of the TDateTime value.

Defined in: SystemHelperMethods

Function TDateTime.Minute: Word;

TDateTime.Month

Returns the month portion of the DateTime value.

Defined in: SystemHelperMethods

Function TDateTime.Month: Word;

TDateTime.Now

Returns the current system date and time.

Defined in: SystemHelperMethods

Function TDateTime.Now: TDateTime;

TDateTime.Second

Returns the second portion of the DateTime value.

Defined in: SystemHelperMethods

Function TDateTime.Second: Word;

TDateTime.Time

Returns only the time portion of the DateTime value.

Defined in: SystemHelperMethods

Function TDateTime.Time: TDateTime;

TDateTime.Today

Returns the Date portion of current date and time.

Defined in: SystemHelperMethods

Function TDateTime.Today: TDateTime;

TDateTime.ToLongDateString

This method will return the string representation of the TDateTime instancein the long date string format. Note that the time portion will not be included.

Defined in: SystemHelperMethods

Function TDateTime.ToLongDateString: String;

TDateTime.ToLongTimeString

This method will return the string representation of the TDateTime instancein the long time string format. Note that the date portion will not be included.

Defined in: SystemHelperMethods

Function TDateTime.ToLongTimeString: String;

TDateTime.ToShortDateString

This method will return the string representation of the TDateTime instancein the short date string format. Note that the time portion will not be included.

Defined in: SystemHelperMethods

Function TDateTime.ToShortDateString: String;

TDateTime.ToShortTimeString

This method will return the string representation of the TDateTime instancein the short time string format. Note that the date portion will not be included.

Defined in: SystemHelperMethods

Function TDateTime.ToShortTimeString: String;

TDateTime.ToString

This method converts a string representation of the date instance honoring thelocale settings.

Defined in: SystemHelperMethods

Function TDateTime.ToString(TimeZoneOffset : Integer): String;

TDateTime.ToString

This method converts a string representation of the date instance honoring thelocale settings.

Defined in: SystemHelperMethods

Function TDateTime.ToString(Format : String; TimeZoneOffset : Integer): String;

TDateTime.TryParse

This method tries to convert given string aString to a TDateTime value. Returnvalue is false if aString does not contain a valid TDateTime value.

Else, if aString does contain a valid TDateTime value, aResult is assigned tothe value and and TryParse method returns true.

Defined in: SystemHelperMethods

Function TDateTime.TryParse(Const aString : String; Var aResult : TDateTime): Boolean;

TDateTime.Year

Returns the year portion of the DateTime value.

Defined in: SystemHelperMethods

Function TDateTime.Year: Word;

TStringList.FromString

This method looks for aSeparator and breaks down the given string aStringbased on its position. Separators are removed and string is broken down into aTStringList.

Defined in: SystemHelperMethods

Function TStringList.FromString(aString : String;
                                aSeparator : String;
                                aIgnoreBlanks : Boolean): TStringList;

TStringList.ToString

This method returns all elements of the string list concatenated into asingle string with line separator.

Defined in: SystemHelperMethods

Function TStringList.ToString(aSeparator : String; aIgnoreBlanks : Boolean): String;

Word.FromString

This method tries to convert the given string aString to the equivalent Word value.

If aString does not contain a valid Byte value, FromString raises an exception.

Defined in: SystemHelperMethods

Function Word.FromString(Const aString : String): Word;

Word.GetHashCode

This method returns the hash code for the instance.

Defined in: SystemHelperMethods

Function Word.GetHashCode: Integer;

Word.ToString

Converts the Word instance to the equivalent string representation.

Defined in: SystemHelperMethods

Function Word.ToString: String;

Word.TryParse

This method tries to convert the given string aString to the equivalentWord value.

If the conversion is successful, TryParse returns true and aResult willcontain the converted value.

On any conversion error, TryParse returns false and aResult remains same.

Defined in: SystemHelperMethods

Function Word.TryParse(Const aString : String; Var aResult : Word): Boolean;


Related Topics


Back to top