ant-design-blazor/components/date-picker/IDatePicker.cs
Bin Dong d99f4f35a8 feat: add localization option to DatePicker (#206)
* feat: add localization option to DatePicker

* fix(module: datepicker): fix formatting issue

* fix: fix Week/Year panel miss matching
fix picker not update when setting CultureInfo
fix ShortWeekDays names and order

* fix: fix binding of CultureInfo in datetime demos
Add globalization demo

* fix: datetime string format

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-16 12:31:46 +08:00

16 lines
340 B
C#

using System;
using System.Globalization;
namespace AntDesign
{
public interface IDatePicker
{
public DateTime CurrentDate { get; set; }
public CultureInfo CultureInfo { get; set; }
void ChangePickerType(string type);
void ChangePickerType(string type, int index);
void Close();
}
}