fineract-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith Woodlock <keithwoodl...@gmail.com>
Subject Re: Date/Time/Calendar Architecture with regards to Vikram Samvat
Date Tue, 20 Sep 2016 10:32:15 GMT
Yalu,

Ed is correct. Joda as the de facto data/time library in Java (prior to
Java 8) was used on Mifos X.

Its currently doesnt include Vikram Samvat as a supported Calendar but it
is possible to extend Joda and implement a chronology for Vikram Samvat see
http://www.joda.org/joda-time/key_chronology.html

You may want to get in touch with the Joda community (http://www.joda.org)
and look at their source code (https://github.com/JodaOrg/joda-time) to
understand how to write your own chronology that you can plug in and use.

regards,
Keith.

On Tue, Sep 20, 2016 at 11:15 AM, Ed Cable <edcable@mifos.org> wrote:

> Hi Yalu,
>
> The Fineract developer is the right place so thanks for starting this
> discussion. Keith Woodlock, are you able to respond more about the calendar
> library that was chosen - it think it was Joda right? It looks like that
> only supports 8 calendars - http://www.joda.org/joda-time/cal.html - but
> Vikram Samvat isn't one of them.
>
> Ed
>
>
>
> On Mon, Sep 19, 2016 at 8:54 PM, Yalu <yalu@vajrainteractive.com> wrote:
>
>> Dear Dev Community,
>>
>> This is my first post to this list and I apologize if the content of this
>> message is not appropriate.
>>
>> I am from Nepal and here the official Calendar System in widespread use
>> is still exclusively a Hindu calendar system called Vikram Samvat. I am
>> trying to get Mifos to be usable in Nepal and this is one of the major
>> hurdle that is impeding adoption.
>>
>> I am trying to determine what kind of Calendar Date/Time
>> architecture/module Mifos X has so as to localize this aspect of the
>> software faithfully and seamlessly; Whether the module is pluggable so that
>> we could just plug in Vikram Samvat based calendar system(if it exists) or
>> any other Calendar system, and we would be good to go.
>>
>> Determining or making the architecture pluggable and having a slot to
>> accommodate different kinds of Calendar/Date/Time system may only be one of
>> a few related problems in this problem set. On the other side, I am not
>> even sure if Nepal has a reliable computational Calendar library to plugin
>> for Vikram Samvat.
>>
>> I know there exists an approach that some local developers have been
>> using to address Calendar solutions for Vikram Samvat. From what I know
>> these systems are made not with pure algorithmic approach(thus scalable
>> into the future) but by using pre-calculated data set of dates. These set
>> of dates range between arbitrary(?) past and future dates. The authority
>> that publishes the pre calculated dates and the legitimacy of their
>> calculations may also be questionable. I have done some research on this
>> and I will share more of my findings soon.
>>
>> I would really appreciate any help localizing Mifos X in this manner. It
>> would be a huge win for Nepali adoption of Mifos X. I will assist in any
>> ways I can, so please ask questions, share your insights and discuss.
>>
>> Thank You immensely for all your hard work. You all are all simply
>> amazing.
>>
>> Regards,
>>
>> Yalu
>>
>
>
>
> --
> *Ed Cable*
> Director of Community Programs, Mifos Initiative
> edcable@mifos.org | Skype: edcable | Mobile: +1.484.477.8649
>
> *Collectively Creating a World of 3 Billion Maries | *http://mifos.org
> <http://facebook.com/mifos>  <http://www.twitter.com/mifos>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message