Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
kizitonwose committed Oct 31, 2017
1 parent c286d2b commit 8a45513
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class Week : TimeUnit {
}

val Number.weeks: Interval<Week>
get() = Interval(this.toDouble())
get() = Interval(this)

val Interval<TimeUnit>.inWeeks: Interval<Week>
get() = converted()
Expand Down Expand Up @@ -232,15 +232,15 @@ Add the dependency to your `build.gradle`:

```groovy
dependencies {
compile 'com.github.kizitonwose.time:time:1.0.0'
compile 'com.github.kizitonwose.time:time:1.0.1'
}
```

- For **Android** projects:

```groovy
dependencies {
compile 'com.github.kizitonwose.time:time-android:1.0.0'
compile 'com.github.kizitonwose.time:time-android:1.0.1'
}
```

Expand Down

0 comments on commit 8a45513

Please sign in to comment.