Skip to content

Commit

Permalink
Add getMinYear for CalendarView.
Browse files Browse the repository at this point in the history
  • Loading branch information
ysy950803 committed Nov 1, 2024
1 parent dabf538 commit 7a3b93c
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 232 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ captures/

# Intellij
*.iml
.idea/workspace.xml
.idea

# Keystore files
*.jks
Binary file removed .idea/caches/build_file_checksums.ser
Binary file not shown.
Binary file removed .idea/caches/gradle_models.ser
Binary file not shown.
137 changes: 0 additions & 137 deletions .idea/codeStyles/Project.xml

This file was deleted.

4 changes: 0 additions & 4 deletions .idea/encodings.xml

This file was deleted.

23 changes: 0 additions & 23 deletions .idea/gradle.xml

This file was deleted.

39 changes: 0 additions & 39 deletions .idea/misc.xml

This file was deleted.

10 changes: 0 additions & 10 deletions .idea/modules.xml

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/runConfigurations.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ buildscript {
repositories {
jcenter()
google()
maven { url "https://repo.grails.org/grails/core/" }
}
dependencies {
//noinspection GradleDependency
Expand All @@ -17,6 +18,7 @@ allprojects {
repositories {
jcenter()
google()
maven { url "https://repo.grails.org/grails/core/" }
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,29 @@ public int getCurYear() {
return mDelegate.getCurrentDay().getYear();
}

public int getMinYear() {
return mDelegate.getMinYear();
}

public int getMaxYear() {
return mDelegate.getMaxYear();
}

public int getMinYearMonth() {
return mDelegate.getMinYearMonth();
}

public int getMaxYearMonth() {
return mDelegate.getMaxYearMonth();
}

public int getMinYearDay() {
return mDelegate.getMinYearDay();
}

public int getMaxYearDay() {
return mDelegate.getMaxYearDay();
}

/**
* 打开日历年月份快速选择
Expand Down

0 comments on commit 7a3b93c

Please sign in to comment.