Show / Hide Table of Contents

Class DateTimeFormat

Inheritance
System.Object
Format
DateTimeFormat
Inherited Members
Format.Parse(String)
Format._code
Format.Code
Format.GetHashCode()
Format.Equals(Object)
Format.GetColor(Object)
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class DateTimeFormat : Format

Constructors

DateTimeFormat(String)

Declaration
public DateTimeFormat(string code)
Parameters
Type Name Description
System.String code

Properties

Category

Declaration
public override FormatCategory Category { get; }
Property Value
Type Description
FormatCategory
Overrides
Format.Category

Methods

CanFormat(Object)

Declaration
public override bool CanFormat(object o)
Parameters
Type Name Description
System.Object o
Returns
Type Description
System.Boolean
Overrides
Format.CanFormat(Object)

GetFormattedValue(DateTime)

Declaration
public object GetFormattedValue(DateTime dt)
Parameters
Type Name Description
DateTime dt
Returns
Type Description
System.Object
Back to top Generated by DocFX