Giter Club home page Giter Club logo

prettytime's Introduction

prettytime

Social Style Date and Time Formatting for Java

Learn more at https://www.ocpsoft.org/prettytime/

Java >=1.8 (Support JDK DateTime API)

PrettyTime requires Java/JDK >=1.8 as of version 5.0.0.Final or higher.

Java <=1.7

Users requiring versions of Java/JDK less than or equal to 1.7 should use PrettyTime versions in the 4.x branch: 4.0.6.Final or lower.

Android

To use prettytime in android, first add the following dependency to your app level build.gradle

implementation 'org.ocpsoft.prettytime:prettytime:5.0.4.Final'

ProGuard rules are automatically configured for you if you use the R8 shrinker (which is the default since version 3.4.0 of the Android Gradle Plugin). If you are using an older version of AGP, add the ProGuard rules from this file

Be sure to check maven central for the latest version: https://repo1.maven.org/maven2/org/ocpsoft/prettytime/prettytime/

Note: To use prettytime in projects with a minSdkVersion below 26, API desugaring is required.

DEVELOPMENT

export RELEASE_VERSION="5.x.x.Final" export SNAPSHOT_VERSION="5.x.x-SNAPSHOT"

force-release: mvn release:prepare release:perform -DskipTests=true -DdevelopmentVersion=$SNAPSHOT_VERSION -DreleaseVersion=$RELEASE_VERSION -Dtag=$RELEASE_VERSION -Darguments="-DskipTests=true -Dmaven.test.skip=true"

CODE FORMAT DEFINITIONS/CONFIG

Please use the following eclipse-style code formatter settings when submitting PRs:

https://github.com/ocpsoft/common/blob/master/ocpsoft-eclipse-code-format.xml

prettytime's People

Contributors

lincolnthree avatar isira-seneviratne avatar musasshi90 avatar nadiration avatar andershedstrom avatar esilverberg avatar alexitelman avatar dependabot[bot] avatar droiddevgirl avatar 452 avatar scribetw avatar sumitbisht avatar b0pol avatar furplag avatar bulaqcom avatar alashow avatar gastaldi avatar nexirs avatar obecker avatar ssaarinen avatar shareasmile avatar aymens avatar snow4dv avatar vvidovic avatar amergey avatar albertalma avatar iamtakingiteasy avatar alitele avatar 40rn05lyv avatar purikas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.