Popularity
4.3
Declining
Activity
0.0
Stable
83
7
7

Programming language: Kotlin
License: Apache License 2.0
Tags: Misc    
Latest version: v2.0.0

koda-time alternatives and similar libraries

Based on the "Misc" category.
Alternatively, view koda-time alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of koda-time or a related project?

Add another 'Misc' Library

README

koda-time

Build Status Download

Joda Time Extensions in Kotlin

supply arithmetic operation (+,-,*,/) for joda-time DateTime in Kotlin language

Usage


    val now = DateTime.now()
    val start = now + 5.minutes()
    val end = now + 15.minutes()
    val interval = start .. end

and supply Extension functions of DateTime, Duration, Instance, Period

Setup

Maven

add dependency

<dependency>
  <groupId>com.github.debop</groupId>
  <artifactId>koda-time</artifactId>
  <version>1.2.1</version>
</dependency>

add repository

<repositories>
    <repository>
        <id>jcenter</id>
        <url>http://jcenter.bintray.com</url>
    </repository>
</repositories>

or

<repositories>
    <repository>
        <id>debop-releases-bintray</id>
        <url>http://dl.bintray.com/debop/maven</url>
    </repository>
</repositories>
Gradle
repository {
    jcenter()     
}
dependencies {
    compile "com.github.debop:koda-time:1.2.1"
}

Build

build by Gradle

$ ./gradlew clean build