sinto jose wrote:
> 1)How can we find out the exact  private static final long
> MILLIS_YEAR_1=-42521587200000L for Persian Calendar(is it
> 1349*365.2425*24*60*60*1000) .I need the  MillisYear_1 value for further
> implementation.
You must calculate the value. If you know the Gregorian equivalent,
you could setup the instant using the ISOChronology and use
getMillis().

> 2)Why you are passing minDaysinFirstWeek=4 to
> getInstance(DateTimeZone,minDaysInFirstWeek) in GregorianChronology.In
> case of Persian how can i create the getInstance similar to Gregorian
The minFirstDays matters as ISO/Gregorian differ on how many days are
needed before to determine which week is the first week of the year.
For your calendar you probably don't care about the minDaysInFirstWeek
and can remove that logic.

Stephen

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Joda-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to