Class DateTimeFormat
Inheritance
System.Object
DateTimeFormat
Assembly: DRIT.Spreadsheet.dll
public class DateTimeFormat : Format
Constructors
Declaration
public DateTimeFormat(string code)
Parameters
Type |
Name |
Description |
System.String |
code |
|
Properties
Declaration
public override FormatCategory Category { get; }
Property Value
Overrides
Methods
Declaration
public override bool CanFormat(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public object GetFormattedValue(DateTime dt)
Parameters
Type |
Name |
Description |
DateTime |
dt |
|
Returns
Type |
Description |
System.Object |
|