From cf195525a5b85cdd432ced688ab4535901804b69 Mon Sep 17 00:00:00 2001 From: the-minions-of-cplu Date: Mon, 13 Dec 2021 18:59:13 +0800 Subject: [PATCH] fix doc's spelling errors Signed-off-by: the-minions-of-cplu --- api/@ohos.i18n.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.i18n.d.ts b/api/@ohos.i18n.d.ts index 3001b54bd8..2970133e44 100644 --- a/api/@ohos.i18n.d.ts +++ b/api/@ohos.i18n.d.ts @@ -270,7 +270,7 @@ export class Calendar { * Get calendar's name localized for display in the given locale. * * @param locale Locale used to get the localized name for this calendar. - * @return Retuns the localized name of this calendar. + * @return Returns the localized name of this calendar. * @since 8 */ getDisplayName(locale: string): string; @@ -280,7 +280,7 @@ export class Calendar { * the date object of this calendar is used. * * @param date Date object whose attribute is desired. - * @return Retuns whether the date is a weekend day. + * @return Returns whether the date is a weekend day. * @since 8 */ isWeekend(date?: Date): boolean; -- Gitee