Skip to content

YusufSM/FP2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

My Library: tzinfo

My name:Yusuf Mulyo

(require tzinfo)
(all-tzids)

This was the first thing I did since this procedure allows me, as the user, to indicate which cities are listed in the list of timezones. With this knowledge, I chose my home city as an input to the next procedure.

(tzid->country-codes "Asia/Jakarta")

Which returns "ID", the country code for the city Jakarta. From there I was able to find out other cities that are listed in the list that are from Indonesia ("ID).

(country-code->tzids "ID")

For this part of the project, I decided to use tzinfo library. This library has a list of timezones of cities all around the world. Though it might not be entirely complete, it covers the major cities in the major countries all around the world. It is useful as it is easily organized by country code and is able to show which timezone a specific country belongs in.

Here is a picture of how the code output would look like: Example Query

About

Exploration 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Racket 100.0%