GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - hooshkar/AndroidMultiCalendarTools: android date tools and date picker for tree calendar "Jalali" and "Hijri" and "Gregorian"

BranchesTags
Open more actions menu

Latest commit

 

History

31 Commits
31 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
Images
Images
 
 
app
app
 
 
gradle/wrapper
gradle/wrapper
 
 
uneversaldatetools
uneversaldatetools
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

Android multi calender tools library for android

android date tools and date picker for tree calendar systems Jalali , Hijri , Gregorian

Screen shots

primary color will be your theme color

Add to your project

copy this to "yourProject/app/libs"
have problem?

How to use

date converter: more here.

DateModel hijri = DateConverter.GregorianToHijri(2018, 1, 1);
//hijri.day;
//hijri.month;
//hijri.year;

date picker:
xml:(don't change height and width)

<com.ali.uneversaldatetools.datePicker.UDatePicker
        android:id="@+id/date_picker"
        android:layout_width="300dp"
        android:layout_height="350dp"/>

java:

UDatePicker uDatePicker = findViewById(R.id.date_picker);

//push date to show in first time
uDatePicker.ShowDatePicker(dateSystem);

//or use current date
uDatePicker.ShowDatePicker(Calendar.Jalali);

//get on day selected event
uDatePicker.setOnDateSelected((dateSystem, unixTime) -> {
    //do something...
});

//or get date when ever you want
uDatePicker.getSelectedUnixTime();//as a unix time
uDatePicker.getSelectedDate();//as a DateSystem object

Supported language:

1.persian
2.english
and its easy to add new language see here.

LICENCE

under MIT licence

About

android date tools and date picker for tree calendar "Jalali" and "Hijri" and "Gregorian"

Topics

androiddatepickergregorianhijrijalalimultilanguage-supportpersianpicker

Resources

Readme
MIT license
Activity
Custom properties

Stars

28 stars

Watchers

3 watching

Forks

4 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.