Popularity
2.0
Stable
Activity
0.0
Stable
51
4
12

Description

A library that converts Time to its equivalent basic local Nigeria languages (Yoruba, Hausa and Igbo) and currently adding up more languages.

Programming language: Java
License: Apache License 2.0
Tags: Helper     Tools     Utility     Resources     Java     Android-library     Time    
Latest version: v1.1

Language_Time alternatives and similar packages

Based on the "Resources" category.
Alternatively, view Language_Time alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Language_Time or a related project?

Add another 'Resources' Package

README

Language_Time

A library that converts Time to its equivalent local languages starting with some basic Nigeria languages(Yoruba, Hausa, Igbo, Efik and English)

Setting up

Dependency

  • Maven

    <dependency>
    <groupId>com.crevation.NgTime</groupId>
    <artifactId>crev-NgTime</artifactId>
    <version>1.1</version>
    <type>pom</type>
    </dependency>
    
  • Gradle

    compile 'com.crevation.NgTime:crev-NgTime:0.1'
    
        OR
    

compile 'com.crevation.NgTime:crev-NgTime:1.1'


## Usage

```java

    //instatntiate the language of your choice, Yoruba in this case
    Time yoruba = new Yoruba();

    //you can as well use other languages available
        Time igbo = new Igbo();
        Time hausa = new Hausa();
    Time english = new English();
    Time efik = new Efik();

        String yorubaTime = yoruba.getTime("4:00");
        String currentTime = yoruba.getCurrentTime();
        String calendarTime = yoruba.getTime(Calendar.getInstance());
        String dateTime = yoruba.getTime(new Date());   

Test

There is a local unit test class [here](nglocaltimes/src/test/java/com/crevation/nglocaltime/LanguageUnitTest.java) in the test folder

Contributors

Contributions

Thank you for showing interest to contribute to this project, we are looking forward to
adding more languages.

All you need to do is:

  • Provide translation rules for the language to be added, see [English Constants](nglocaltimes/src/main/java/com/crevation/nglocaltime/english/Constants.java) for sample.

  • Email us for more information

License

Copyright 2017 Adetuyi Tolu Emmanuel

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at Apache license 2.0


*Note that all licence references and agreements mentioned in the Language_Time README section above are relevant to that project's source code only.