Write some software about time conversion in Java.
$10-30 USD
Paid on delivery
Must be completed in Java. Write some functions in that will convert time from BASIC_FORMAT to ISO_FORMAT, or return some other required data. (Detail below)
Many of these functions will either take as input or return as output (or both!) datetime strings in the following formats:
Example 1
Format Name: Basic Format
Format String: YYYYMMDD h:mma
Example: 20150107 1:29PM
Example 2
Format Name: ISO_FORMAT
Format String: YYYYMMDD'T'hh:mm:[login to view URL]’Z’
Example: 20140209T02:00:00.000Z
Function Specifications:
FUNCTION # 1:
one_hour_earlier( time:String ) -> String:
Accepts a datetime string assumed to be in the BASIC_FORMAT. Returns a BASIC_FORMAT datetime string representing one hour earlier.
Example # 1:
Parameter Value: “20150107 2:29PM”
Return Value: “20150107 1:29PM”
Example # 2:
Parameter Value: “20150101 12:34AM”
Return Value: “20141231 11:34PM”
FUNCTION # 2:
is_central_time()-> boolean
Returns true if the computer is operating in the Central time zone or false otherwise.
FUNCTION # 3:
to_calendar_format( time:String )->String:
Accepts a datetime string in BASIC_FORMAT and returns a version of the same time in Greenwich Mean Time (GMT) in ISO_FORMAT. The result will vary based on the time zone the computer is operating in. For reference note that GMT is 8 hours ahead of PST and 5 hours ahead of EST.
Example # 1:
Parameter Value: “20140208 6:00PM"
Time Zone: PST
Return Value: "20140209T02:00:00.000Z"
Example # 2:
Parameter Value: "20140208 6:00PM"
Time Zone: MST
Return Value: "20140209T01:00:00.000Z"
Project ID: #11975933
About the project
2 freelancers are bidding on average $35 for this job
Hi there! I read your requirements, And I'm able work on all the Methods you described in the description. But Your budget seems low. So I made a bid with what should be the budget. I'd love to handle this project. More
Hey an experience java developer is here i have been working on java for two years and know the nitty-gritty stuff of java i have worked on java projects before so feel free to contact me over chat to discuss mor More