Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Awsome_Android_Global_Calendar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source-2018-spring
Awsome_Android_Global_Calendar
Commits
704ca190
Commit
704ca190
authored
6 years ago
by
박신혁
Browse files
Options
Downloads
Patches
Plain Diff
dd
parent
8935c1ae
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+5
-0
5 additions, 0 deletions
README.md
app/src/main/kotlin/com/simplemobiletools/calendar/helpers/Parser.kt
+1
-2
1 addition, 2 deletions
...n/kotlin/com/simplemobiletools/calendar/helpers/Parser.kt
with
6 additions
and
2 deletions
README.md
+
5
−
0
View file @
704ca190
...
...
@@ -54,10 +54,15 @@
*
open holiday ics파일
*
개선한 점 : 한국 여행자 등에게 도움이 될 수 있도록 한국어로 번역
*
google GPS API 사용법
*
http://git.ajou.ac.kr/open-source-2018-spring/Google_GPS_API_Kotlin
*
python - ics parser
*
https://github.com/oblique63/Python-GoogleCalendarParser
*
기존 파이썬 ics parser -> kotlin ics parser
*
googleGPS API 사용법 제시
### License
*
Apache 2.0 License
...
...
This diff is collapsed.
Click to expand it.
app/src/main/kotlin/com/simplemobiletools/calendar/helpers/Parser.kt
+
1
−
2
View file @
704ca190
...
...
@@ -11,7 +11,7 @@ import org.joda.time.DateTimeZone
import
org.joda.time.format.DateTimeFormat
class
Parser
{
// from RRULE:FREQ=DAILY;COUNT=5 to Daily, 5x...
fun
parseRepeatInterval
(
fullString
:
String
,
startTS
:
Int
):
RepeatRule
{
val
parts
=
fullString
.
split
(
";"
)
var
repeatInterval
=
0
...
...
@@ -186,7 +186,6 @@ class Parser {
else
->
SU
}
// from P0DT1H5M0S to 3900 (seconds)
fun
parseDurationSeconds
(
duration
:
String
):
Int
{
val
weeks
=
getDurationValue
(
duration
,
"W"
)
val
days
=
getDurationValue
(
duration
,
"D"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment