Skip to content

Commit

Permalink
v2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
shahabyazdi committed Jun 20, 2021
1 parent 42e8d07 commit 96f341f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,9 @@ class DateObject {
return result.replace(/[0-9]/g, (w) => digits[w]);
}

/**
* @deprecated
*/
getProperty(key) {
return this.getValue(key);
}
Expand Down Expand Up @@ -757,6 +760,9 @@ class DateObject {
return this.#calendar.getAllDays(this);
}

/**
* @deprecated
*/
get dayOfBeginning() {
return this.toDays();
}
Expand Down

0 comments on commit 96f341f

Please sign in to comment.