[]
        
(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()

Initializes a new instance of the GeneralFormatter class.

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

Month name symbol

fpseSymbolMonthName11Grp

Month name symbol

fpseSymbolMonthName12Grp

Month name symbol

fpseSymbolMonthName1Grp

Month name symbol

fpseSymbolMonthName2Grp

Month name symbol

fpseSymbolMonthName3Grp

Month name symbol

fpseSymbolMonthName4Grp

Month name symbol

fpseSymbolMonthName5Grp

Month name symbol

fpseSymbolMonthName6Grp

Month name symbol

fpseSymbolMonthName7Grp

Month name symbol

fpseSymbolMonthName8Grp

Month name symbol

fpseSymbolMonthName9Grp

Month name symbol

fpseSymbolMonthNameGrp

Month name symbol

fpseSymbolNumberUsedForDate

Number for date symbol

fpseSymbolNumberUsedForTime

Number for time symbol

fpseSymbolNumbericDigits

Numeric digits symbol

fpseSymbolShortMonthName10Grp

Month short name symbol

fpseSymbolShortMonthName11Grp

Month short name symbol

fpseSymbolShortMonthName12Grp

Month short name symbol

fpseSymbolShortMonthName1Grp

Month short name symbol

fpseSymbolShortMonthName2Grp

Month short name symbol

fpseSymbolShortMonthName3Grp

Month short name symbol

fpseSymbolShortMonthName4Grp

Month short name symbol

fpseSymbolShortMonthName5Grp

Month short name symbol

fpseSymbolShortMonthName6Grp

Month short name symbol

fpseSymbolShortMonthName7Grp

Month short name symbol

fpseSymbolShortMonthName8Grp

Month short name symbol

fpseSymbolShortMonthName9Grp

Month short name symbol

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.