From af5b12f2f52822459510d524f1b66a2a12230114 Mon Sep 17 00:00:00 2001 From: code-dev Date: Sun, 22 May 2022 20:33:58 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8646c89..2e043b2 100644 --- a/README.md +++ b/README.md @@ -261,17 +261,16 @@ Let's create a template so that you can personalise your greeting message for ea Given a list of people, for each one of them we want to generate a timezone appropriate greeting text output. -Assuming it is 3:30 pm CEST and we want to generate a greeting for someone in NY, we would print out “Good morning, Mary.” If the person lives in London, we would print out “Good afternoon, Mary.” And if the person lives in Perth, we would print out “Good evening, Mary.” This can be done by using a simple function that takes in the current time and the person's location and outputs the appropriate greeting. By doing this, we can make sure that everyone gets the appropriate greetings no matter what time it is where they are. +Assuming it is 3:30 pm CEST and we want to generate a greeting for someone in NY, we would print out “Good morning, Mary.” If the person lives in London, we would print out “Good afternoon, Mary.” And if the person lives in Perth, we would print out “Good evening, Mary.” This can be done by using a simple function that takes in the current time and the person's location and outputs the appropriate greeting. -Person Domain Class +By doing this, we can make sure that everyone gets the appropriate greetings no matter what time it is where they are. -Name - -TimeZoneID +Domain Class - Person +- Name +- ZoneID [https://docs.oracle.com/middleware/12212/wcs/tag-ref/MISC/TimeZones.html](https://docs.oracle.com/middleware/12212/wcs/tag-ref/MISC/TimeZones.html) - ```java public class Person {