TimeValue.cs 478 B

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