Classes Files

Wombat::SimpleDateFormat

Wraps a date formatting settings

Public Functions

  Name
  SimpleDateFormat(string format)
Creates a date format, using the specified date/time format, and an invariant culture System.DateTime.ToString(System.String)
  SimpleDateFormat(string format, IFormatProvider formatProvider)
Creates a date format, using the specified date/time format and culture (format provider) System.DateTime.ToString(System.String, System.IFormatProvider)
string Format(DateTime dateTime)
DateTime Parse(string dateTimeString)
string Format(DateTime dateTime, string format, IFormatProvider formatProvider)
DateTime Parse(string dateTimeString, string format, IFormatProvider formatProvider)

Public Properties

  Name
string FormatString
IFormatProvider FormatProvider

Public Functions Documentation

function SimpleDateFormat

SimpleDateFormat(
    string format
)

Creates a date format, using the specified date/time format, and an invariant culture System.DateTime.ToString(System.String)

function SimpleDateFormat

SimpleDateFormat(
    string format,
    IFormatProvider formatProvider
)

Creates a date format, using the specified date/time format and culture (format provider) System.DateTime.ToString(System.String, System.IFormatProvider)

function Format

string Format(
    DateTime dateTime
)

function Parse

DateTime Parse(
    string dateTimeString
)

function Format

static string Format(
    DateTime dateTime,
    string format,
    IFormatProvider formatProvider
)

function Parse

static DateTime Parse(
    string dateTimeString,
    string format,
    IFormatProvider formatProvider
)

Public Property Documentation

property FormatString

string FormatString;

property FormatProvider

IFormatProvider FormatProvider;

Updated on 2023-03-31 at 15:30:16 +0100