[]
        
(Showing Draft Content)

FarPoint.Win.SuperEdit.GeneralFormatter

GeneralFormatter Class

Implements the GeneralFormatter interface.

Inheritance
GeneralFormatter
Implements
Namespace: FarPoint.Win.SuperEdit
Assembly: FarPoint.Win.dll
Syntax
public class GeneralFormatter : ISEditFormatter
Public Class GeneralFormatter
    Implements ISEditFormatter

Constructors

Name Description
GeneralFormatter()

Fields

Name Description
cnvtbLiteralDelimiter

Literal delimiter

fpseCurrencyValue

Currency value

fpseDatePartsMaximum

Maximum number of date parts

fpseDateValue

Date value

fpseDay

Day

fpseDecodeDateResultsMask

Date mask

fpseDecodeInvalidDate

Invalid date

fpseDecodeInvalidTime

Invalid time

fpseDecodeTimeResultsMask

Time mask

fpseDecodeValidDate

Valid date

fpseDecodeValidTime

Valid time

fpseEmptyUndefined

Empty undefined

fpseFormulaValue

Formula value

fpseHour

Hour

fpseMinute

Minute

fpseMonth

Month

fpseMonthSeparatorCharSet

Month separator character set.

fpseNumericValue

Numeric value

fpsePercentValue

Percent value

fpseSecond

Second

fpseSymbolComma

Comma symbol

fpseSymbolDateSeparatorGrp

Date separator symbol

fpseSymbolMinus

Minus symbol

fpseSymbolMonthName10Grp
fpseSymbolMonthName11Grp
fpseSymbolMonthName12Grp
fpseSymbolMonthName1Grp
fpseSymbolMonthName2Grp
fpseSymbolMonthName3Grp
fpseSymbolMonthName4Grp
fpseSymbolMonthName5Grp
fpseSymbolMonthName6Grp
fpseSymbolMonthName7Grp
fpseSymbolMonthName8Grp
fpseSymbolMonthName9Grp
fpseSymbolMonthNameGrp

Month name symbol

fpseSymbolNumberUsedForDate

Number for date symbol

fpseSymbolNumberUsedForTime

Number for time symbol

fpseSymbolNumbericDigits

Numeric digits symbol

fpseSymbolShortMonthName10Grp
fpseSymbolShortMonthName11Grp
fpseSymbolShortMonthName12Grp
fpseSymbolShortMonthName1Grp
fpseSymbolShortMonthName2Grp
fpseSymbolShortMonthName3Grp
fpseSymbolShortMonthName4Grp
fpseSymbolShortMonthName5Grp
fpseSymbolShortMonthName6Grp
fpseSymbolShortMonthName7Grp
fpseSymbolShortMonthName8Grp
fpseSymbolShortMonthName9Grp
fpseSymbolShortMonthNameGrp

Month short name symbol

fpseSymbolTimeAMStringGrp

Time AM symbol

fpseSymbolTimePMStringGrp

Time PM symbol

fpseSymbolTimeSeparatorGrp

Time separator symbol

fpseSymbolUndefined

Undefined symbol

fpseSymbolUnknown

Unknown symbol

fpseSymbolWhiteSpace

White space symbol

fpseTempStringMax

Maximum number of characters.

fpseTextValue

Text value

fpseTimeDesignator

Time designator

fpseTimePartsMaximum

Maximum number of time parts

fpseYear

Year

strDefCurrencySym

Currency symbol

Properties

Name Description
ManageInput

This class does not support "Managed Input".

RegionSettings

Gets or sets the Regional settings.

Methods

Name Description
ConvertDatePartsToValue(FpseDecodeParameters, int, int, int, ref DateTime)

Given the date parts, convert to a date value.

ConvertDateTimePartsToValue(FpseDecodeParameters, int, int, int, out object)

Given the date and time parts, convert to date and time values.

ConvertTimePartsToValue(FpseDecodeParameters, ref TimeSpan)

Given the time parts, convert to a time value.

DecodeDateString(string, int, out object, out string, out string)

Parses the date string into a numerical date value.

FromFormattedString(string)

Parses and returns the "value" from a formatted string.

FromUnformattedString(string)

Parses and returns the "value" from an unformatted string.

FromUnformattedString(string, ref IFormatProvider, ref string)

Parses and returns the "value" from an unformatted string along with additional information about the parsed string.

GetDatePartOrdering(FpseDecodeParameters, string)

Parses date format string to determine the order of the day-month-year (and which are included).

GetDateTimePartOrdering(FpseDecodeParameters)

Parses date and time format strings to determine the order of the day-month-year and/or hour-min-secs (and which are included).

GetLeftDigitGroup(string, int, int, int, char, int, out int)

Returns the indexes (start and end) of the group of numbers at the left side of the decimal point

GetPseudoParsedStringType(string)

Gets the parsed string type.

GetTimePartOrdering(FpseDecodeParameters, string)

Parses time format string to determine the order of the hour-min-secs-am/pm (and which are included).

MatchStringToMonthName(string, out int, out int, out bool)

Determines if the passed string begins with one of the month names.

PrivConvToBinaryValue(string, int, out object, out int, out int, int)

Converts a string to a date or numeric value.

PrivConvToBinaryValue(string, int, out object, out int, out int, int, ref IFormatProvider, ref string)

Converts a string to a date or numeric value.

ProcessDateSymbolDigits(FpseDecodeParameters, string, int, out int)

Processes the digit(s) symbol for a date/time string.

ToFormattedString(object)

Returns a formatted string (plus attributes) for the value passed.

ToUnformattedString(object)

Returns an unformatted string for the value passed.

TranslateDateSymbol(FpseDecodeParameters, string, ref int)

Returns a list of possible "date symbols" for the first "token" in the passed string.

ValidatePosNegSignPlacement(bool, bool, int, bool, bool, int, ref bool, ref bool, ref bool, ref bool)

Determines if the Positive/Negative sign is allowed at the current position.