TimeValue.cs 485 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Threading;
  3. namespace Quadarax.Foundation.Core.QConsole.Value
  4. {
  5. public class TimeValue : DateValue
  6. {
  7. public TimeValue() : base()
  8. {
  9. }
  10. public TimeValue(DateTime value, string timeFormat) : base(value, timeFormat)
  11. {
  12. }
  13. public TimeValue(DateTime value) : base(value)
  14. {
  15. _dateformat = Thread.CurrentThread.CurrentUICulture.DateTimeFormat.ShortTimePattern;
  16. }
  17. }
  18. }