chooseOneDay.d.ts 911 B

1234567891011121314151617181920212223242526
  1. /**
  2. * 唤起月历组件,选择某天 请求参数定义
  3. * @apiName biz.calendar.chooseOneDay
  4. */
  5. export interface IBizCalendarChooseOneDayParams {
  6. /** 时间戳,默认选中时间,单位为毫秒ms */
  7. default?: number;
  8. }
  9. /**
  10. * 唤起月历组件,选择某天 返回结果定义
  11. * @apiName biz.calendar.chooseOneDay
  12. */
  13. export interface IBizCalendarChooseOneDayResult {
  14. /** 时间戳,用户选择日期当日0点的时间(在用户时区),单位为毫秒ms */
  15. chosen: number;
  16. /** 整型,用户当前所在时区 */
  17. timezone: number;
  18. }
  19. /**
  20. * 唤起月历组件,选择某天
  21. * @description 依赖钉钉客户端3.5.0以上版本
  22. * @apiName biz.calendar.chooseOneDay
  23. * @supportVersion ios: 3.5.0 android: 3.5.0
  24. */
  25. export declare function chooseOneDay$(params: IBizCalendarChooseOneDayParams): Promise<IBizCalendarChooseOneDayResult>;
  26. export default chooseOneDay$;