Skip to content

Conversation

yashtyagi-yb
Copy link

I have added 3 functions as follows :

  • CyclicSeqDateGen : This function takes 2 parameters [startYear, endYear]. It sequentially generates all the dates between the provided years and then repeats the same sequence endlessly.

  • CyclicSeqDateGenWithRep : This function takes 3 parameters [startYear, endYear, threshold]. It sequentially generates all the dates between the provided years and then repeats the same sequence endlessly till threshold is met. After completing 'threshold' number of days it resets and repeats the sequence.

  • SeqStringGenFromArray : This function requires an array of strings and returns them in a cyclic sequential manner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant