Date Computations

APL-related discussions - a stream of APL consciousness.
Not sure where to start a discussion ? Here's the place to be
Forum rules
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !

Re: Date Computations

Postby kai on Fri Jan 19, 2018 6:06 pm

I would only know if somebody complains or files a bug. Never happened.

You use some of the functions however: they have all been implemented by Phil, and they are part of acre.

My part was converting them into a class, document them and write test cases.
User avatar
kai
 
Posts: 91
Joined: Thu Jun 18, 2009 5:10 pm
Location: Stevenage, UK

Re: Date Computations

Postby paulmansour on Fri Jan 19, 2018 7:21 pm

Kai, is there a test suite for this library?
paulmansour
 
Posts: 262
Joined: Fri Oct 03, 2008 4:14 pm

Re: Date Computations

Postby paulmansour on Fri Jan 19, 2018 7:23 pm

That crossed with previous post.

Where are the test cases, and how would one get a hold of them?
paulmansour
 
Posts: 262
Joined: Fri Oct 03, 2008 4:14 pm

Re: Date Computations

Postby paulmansour on Fri Jan 19, 2018 7:38 pm

Kai, also, is there a reason they are delivered as a class?
paulmansour
 
Posts: 262
Joined: Fri Oct 03, 2008 4:14 pm

Re: Date Computations

Postby kai on Sat Jan 20, 2018 2:19 pm

It's a class because putting stuff together into a class with a public interface while hiding implementation details seems natural to do for something like Date and Time related functions.

Currently you download the zip, load the WS inside it and run

#._DateAndTime.TestCases.Run

for executing the test cases. Same holds true for all members of the APLTree library.

In fact nothing that is not well documented and has exhaustive test cases can become a member of the APLTree library by definition.
User avatar
kai
 
Posts: 91
Joined: Thu Jun 18, 2009 5:10 pm
Location: Stevenage, UK

Re: Date Computations

Postby paulmansour on Sat Jan 20, 2018 8:01 pm

Thanks, Kai. I'll download and look at the tests.

One more thing. I know that you don't know if anyone else is using the date library. Do any of your other APLTree projects use the date and time library?
paulmansour
 
Posts: 262
Joined: Fri Oct 03, 2008 4:14 pm

Previous

Return to APL Chat

Who is online

Users browsing this forum: No registered users and 1 guest