GregorianLunarCalendar | GregorianLunarCalendar提供了农历公历的日期选择模式,同时支持公历农历的无缝切换
kandi X-RAY | GregorianLunarCalendar Summary
kandi X-RAY | GregorianLunarCalendar Summary
GregorianLunarCalendar is a Java library. GregorianLunarCalendar has no bugs, it has no vulnerabilities, it has build file available and it has low support. You can download it from GitHub.
##说明 ###上一个版本 上一个版本的GregorianLunarCalendar通过NumberPicker构造的日期选择器,可定制性较差,如: 1.每个NumberPicker只能显示3个选项; 2.setValue()以及滑动时时没有过渡动效; 3.滑动fling的速度较慢等等。. 此版本的GregorianLunarCalendar只是使用NumberPickerView替换NumberPicker,做成了一个更加优美的日期选择控件。 由于我将NumberPicker中常用的方法如setValue() setMinValue() setMaxValue() setDisplayedValues()等函数均在NumberPickerView中实现了,因此移植起来非常简单。 GregorianLunarCalendar控件效果如下:. ##具有的特性 ###UI显示效果的改进: 1.内容的重新设定时可以选择是否添加动效,即从公历转换到农历时,dayPicker肯定是需要重新设置value的,如果设置为添加动效,那么在切换时可以看到滚动效果; 2.在切换年/月时,如果月/日需要改变时(如每个月的天数不同),具有滚动效果,且滚动的路径是选择最短路径; ###具有的功能: 1.公历年月日选择,年月改变时会联动改变相对应的月日时期显示,确保公历日期显示正确; 2.农历年月日选择,同样会有联动改变对应日期的效果,确保日期符合农历历法,包括闰月、大小月等; 3.公历农历互相转换时,实现无缝切换,如2016年2月29日切换为农历则显示二零一六年一月廿二日,农历转公历同样效果; 4.显示范围为1901年-2100年,满足大部分使用需求; 5.在1901年与2100年,确保公历农历转换时的边界限制。.
##说明 ###上一个版本 上一个版本的GregorianLunarCalendar通过NumberPicker构造的日期选择器,可定制性较差,如: 1.每个NumberPicker只能显示3个选项; 2.setValue()以及滑动时时没有过渡动效; 3.滑动fling的速度较慢等等。. 此版本的GregorianLunarCalendar只是使用NumberPickerView替换NumberPicker,做成了一个更加优美的日期选择控件。 由于我将NumberPicker中常用的方法如setValue() setMinValue() setMaxValue() setDisplayedValues()等函数均在NumberPickerView中实现了,因此移植起来非常简单。 GregorianLunarCalendar控件效果如下:. ##具有的特性 ###UI显示效果的改进: 1.内容的重新设定时可以选择是否添加动效,即从公历转换到农历时,dayPicker肯定是需要重新设置value的,如果设置为添加动效,那么在切换时可以看到滚动效果; 2.在切换年/月时,如果月/日需要改变时(如每个月的天数不同),具有滚动效果,且滚动的路径是选择最短路径; ###具有的功能: 1.公历年月日选择,年月改变时会联动改变相对应的月日时期显示,确保公历日期显示正确; 2.农历年月日选择,同样会有联动改变对应日期的效果,确保日期符合农历历法,包括闰月、大小月等; 3.公历农历互相转换时,实现无缝切换,如2016年2月29日切换为农历则显示二零一六年一月廿二日,农历转公历同样效果; 4.显示范围为1901年-2100年,满足大部分使用需求; 5.在1901年与2100年,确保公历农历转换时的边界限制。.
Support
Quality
Security
License
Reuse
Support
GregorianLunarCalendar has a low active ecosystem.
It has 256 star(s) with 65 fork(s). There are 15 watchers for this library.
It had no major release in the last 6 months.
There are 4 open issues and 6 have been closed. On average issues are closed in 4 days. There are 1 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of GregorianLunarCalendar is current.
Quality
GregorianLunarCalendar has 0 bugs and 71 code smells.
Security
GregorianLunarCalendar has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
GregorianLunarCalendar code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
GregorianLunarCalendar does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
GregorianLunarCalendar releases are not available. You will need to build from source code and install.
Build file is available. You can build the component from source.
Installation instructions are not available. Examples and code snippets are available.
GregorianLunarCalendar saves you 727 person hours of effort in developing the same functionality from scratch.
It has 1678 lines of code, 99 functions and 19 files.
It has high code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed GregorianLunarCalendar and discovered the below as its top functions. This is intended to give you an instant insight into GregorianLunarCalendar implemented functionality, and help decide if they suit your requirements.
- Performs the rolling roll of the given amount
- Recompute the chronology if necessary
- Computes the Gregorian fields
- Compute Chinese fields
- Handles a value change
- Returns the number of days between a Chinese month in Chinese month
- Set values for a NumberPickerView
- Pass the month and day and day
- Gets a toast message
- Shows this dialog
- Initializes the dialog
- Initialize the window
- Show a toast message
- Initialize internal data
- Initialize the attributes
- Sets the value of a Chinese field
- Initializes the activity
- Adds a field to the number of Chinese months
Get all kandi verified functions for this library.
GregorianLunarCalendar Key Features
No Key Features are available at this moment for GregorianLunarCalendar.
GregorianLunarCalendar Examples and Code Snippets
No Code Snippets are available at this moment for GregorianLunarCalendar.
Community Discussions
No Community Discussions are available at this moment for GregorianLunarCalendar.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install GregorianLunarCalendar
You can download it from GitHub.
You can use GregorianLunarCalendar like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the GregorianLunarCalendar component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
You can use GregorianLunarCalendar like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the GregorianLunarCalendar component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page