2020-06-03 10:24:16 +08:00
|
|
|
|
using System;
|
2020-06-16 12:31:46 +08:00
|
|
|
|
using System.Globalization;
|
2020-08-14 12:43:48 +08:00
|
|
|
|
using AntDesign.Internal;
|
2020-06-03 10:24:16 +08:00
|
|
|
|
|
|
|
|
|
namespace AntDesign
|
|
|
|
|
{
|
|
|
|
|
public interface IDatePicker
|
|
|
|
|
{
|
|
|
|
|
public DateTime CurrentDate { get; set; }
|
2020-06-16 12:31:46 +08:00
|
|
|
|
public CultureInfo CultureInfo { get; set; }
|
2020-06-03 10:24:16 +08:00
|
|
|
|
|
2020-07-05 00:06:34 +08:00
|
|
|
|
internal DateTime? HoverDateTime { get; set; }
|
|
|
|
|
|
|
|
|
|
int GetOnFocusPickerIndex();
|
|
|
|
|
|
2020-08-14 12:43:48 +08:00
|
|
|
|
void ChangePlaceholder(string placeholder, int index = 0);
|
|
|
|
|
string GetFormatValue(DateTime value, int index);
|
|
|
|
|
|
2020-06-03 10:24:16 +08:00
|
|
|
|
void ChangePickerType(string type);
|
|
|
|
|
void ChangePickerType(string type, int index);
|
2020-07-05 00:06:34 +08:00
|
|
|
|
void InvokeStateHasChanged();
|
2020-06-03 10:24:16 +08:00
|
|
|
|
void Close();
|
|
|
|
|
}
|
|
|
|
|
}
|