using System; using System.Collections.Generic; using System.Text; using FastReport.Utils; namespace FastReport.Format { /// /// Defines how time values are formatted and displayed. /// public class TimeFormat : CustomFormat { #region Public Methods /// public override FormatBase Clone() { TimeFormat result = new TimeFormat(); result.Format = Format; return result; } internal override string GetSampleValue() { return FormatValue(new DateTime(2007, 11, 30, 13, 30, 0)); } #endregion /// /// Initializes a new instance of the TimeFormat class with default settings. /// public TimeFormat() { Format = "t"; } } }