Skip to content

Commit

Permalink
Solved reported bug [#81] - Add new add/subs methods
Browse files Browse the repository at this point in the history
  • Loading branch information
samanzamani committed Sep 8, 2023
1 parent 7bf795d commit d463a25
Show file tree
Hide file tree
Showing 5 changed files with 357 additions and 95 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,17 @@ allprojects {
Step 2.Add the dependency
```groovy
dependencies {
implementation 'com.github.samanzamani:PersianDate:1.6.1'
implementation 'com.github.samanzamani:PersianDate:1.7.0'
}
```
# what's new

### version 1.7.0
* Fix add/sub reported bug (Reported By [@Alireza-Jamali](https://github.com/Alireza-Jamali)). [#81](https://github.com/samanzamani/PersianDate/issues/81)
* Add new adds methods: `addWeeks`,`addDays`,`addMonths`,`addYears`,`addHours`,`addMinutes`,....
* Add new subs methods: `subsWeeks`,`subsDays`,`subsMonths`,`subsYears`,`subsHours`,`subsMinutes`,....
* Increase test coverage.

### version 1.6.1
* Add validation for set methods and Init methods (Reported By [@ahmad-shoja](https://github.com/ahmad-shoja)). [#77](https://github.com/samanzamani/PersianDate/pull/77)
* Add `isToday` method suggested by [AlirezaGhanbarinia](https://github.com/AlirezaGhanbarinia). [#75](https://github.com/samanzamani/PersianDate/pull/75)
Expand All @@ -37,8 +43,6 @@ dependencies {
### version 1.5.4
* Correction `H` and `g` keywords in `PersianDateFormat` class. [#71](https://github.com/samanzamani/PersianDate/pull/71)

### version 1.5.2
* Change type of add* function arguments from `long` to `int` [#68](https://github.com/samanzamani/PersianDate/pull/68)


## Let's convert some date :)
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ android {
applicationId "saman.zamani.persiandatedemo"
minSdkVersion 17
targetSdkVersion 33
versionCode 1
versionName "1.0"
versionCode 170
versionName "1.7.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
2 changes: 1 addition & 1 deletion persiandate/gitpack.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ afterEvaluate {
from components.release
groupId = 'com.github.samanzamani.persiandate'
artifactId = 'stable'
version = '1.3.1'
version = '1.7.0'
}
}
}
Expand Down
Loading

0 comments on commit d463a25

Please sign in to comment.