iOS Question can use jar file :)

omidaghakhani1368

Well-Known Member
Licensed User
Longtime User
Hi Erel.
I cannot programming with xcode and not convert date.
Can i use jar file in b4i :)?
Who is help me to create library?
 

omidaghakhani1368

Well-Known Member
Licensed User
Longtime User
what library you need to create?
Thank you for reply,I have a java source code that convert date to persian date,
I attachment java code for you,i cannot find source for xcode sorry.
In class PersianDate.java,i use basic4android detials for use in basic4android
Now i want to use it in b4i
Thank you
 

Attachments

  • DatePersian.zip
    10 KB · Views: 182
Upvote 0

Alberto Iglesias

Well-Known Member
Licensed User
Longtime User
No Problem!

Look, I doing your library, check if this values are correct, please!

In the next step is put in ToPersian function the parameters like your library (Day,month,year and separator)
 

Attachments

  • DatePersian.png
    DatePersian.png
    99.2 KB · Views: 196
Upvote 0

omidaghakhani1368

Well-Known Member
Licensed User
Longtime User
Hi.
Very thanks for your attention.
The result is incorrect.
instead of 1436 must be 1394.
I use attachment source in basic4android and it is correct but how you can get this value?
 
Upvote 0

omidaghakhani1368

Well-Known Member
Licensed User
Longtime User
i'm sorry,it is incorrect
Please look at me :
7 2 2015 for persian date is 1393 11 18
if you set 2015 year so for persian 1393
OK?
 
Upvote 0
Top