-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the Nepali-Calendar wiki!
–to create a way for dates to be converted from nepali dates to english and viceversa
–to allow to access events data from google calendar
–to display events data from google calendar that will be linked to multiple dates.
Basically application design is to create calendar where both Nepali and English dates are shown with
the google event of the user. Algorithms for this is given below:
➔ Check whether Nepali Month and year is provided by the user or not.(1)
➔ If provided
total days = get total number of days on provided month from dateData.py file.(2)
Convert first day of Nepali Month in English date(2)
Starting day = using system calendar identify in which day will that English date fall in.(2)
event = []
Check for email address and password(3)
➢ if provide check weather it is correct or not(3)
➢ if correct get the event for the Nepali Month and append event in ‘event list’ with the
date.(3)
➢ else display massages saying “Email address or password incorrect”(3)
➢ else pass
➔ else get the system date convert into Nepali date and use as input(1)
total days = get total number of days on provided month from dateData.py file.(2)
Convert first day of Nepali Month in English date(2)
Starting day = using system calendar identify in which day will that English date fall in.(2)
event = []
Check for email address and password(3)
➢ if provide check weather it is correct or not(3)
➢ if correct get the event for the Nepali Month and append event in ‘event list’ with the
date.(3)
➢ else display massages saying “Email address or password incorrect”(3)
➢ else pass
➔ Display calendar for Starting day to total days(4)
check weather there is an event or not for the event list(5)
➢ If found display(5)
else pass(5)
[Note: if there is any number inside the bracket then it is explain in more detail in development section.]
Data Structures send to google calender is a web url QUERY. Startmax and startmin English Date are
send to google server. Event between this date are response back.
Data structure response for google calender is a list with events and its date.
“DD/MM/YYYY”Data structure used for Nepali date is “DD/MM/YYYY” were DD,MM and YYYY are day, month and
year. i.e “13/03/2066”
Data structure used for English date is “DD/MM/YYYY” were DD,MM and YYYY are day, month
and year. i.e “13/03/2009”