Class
DateTimeFormatHelper

Helper methods for date/time formatting.

Definition

Namespace:ArtOfTest.Common

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
public static class DateTimeFormatHelper

Inheritance: objectDateTimeFormatHelper

Methods

AbbrMonthToInt(string)

Convert a month abbreviation to an int.

Declaration

cs-api-definition
public static int AbbrMonthToInt(string month)

Parameters

month

string

Month abbreviation.

Returns

int

Month as an int.

IntToAbbrMonthName(int)

Convert an int to a month abbreviation.

Declaration

cs-api-definition
public static string IntToAbbrMonthName(int month)

Parameters

month

int

Month as an int.

Returns

string

Month abbreviation.

IntToMonthName(int)

Convert an int to a month name.

Declaration

cs-api-definition
public static string IntToMonthName(int month)

Parameters

month

int

Month as an int.

Returns

string

Month name.