Delphi

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Iranian calender

    8 answers - 352 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    How we can use Iranian calendar in our application. I mean to say I want
    to display Iranian calendar in user interface similar to TCalender
    object, save then in MS access database and then print the Iranian date
    in report and other user interface.
    Regards
    Uttam
    Delphi mailing list -Delphi (AT) elists (DOT) org
  • No.1 | | 691 bytes | |

    TCalender class is a wrapper for calender control that comes with windows.
    What do you get when you change the locals to Iran on your system?

    Kind Regards

    Arjang Assadi

    8/23/05, Uttam Kumar Kotdiya <Uttam.Kotdiya (AT) entity-solutions (DOT) comwrote:
    How we can use Iranian calendar in our application. I mean to say I want
    to display Iranian calendar in user interface similar to TCalender
    object, save then in MS access database and then print the Iranian date
    in report and other user interface.

    Regards
    Uttam

    Delphi mailing list -Delphi (AT) elists (DOT) org

    Delphi mailing list -Delphi (AT) elists (DOT) org
  • No.2 | | 866 bytes | |

    Can you send an image of an Iranian calendar? I doubt if most of
    us have ever seen one. With an image, we may be able to offer suggestions
    about how to implement it.

    HTH,
    Rich

    Message
    From: "Uttam Kumar Kotdiya" <Uttam.Kotdiya (AT) entity-solutions (DOT) com>
    To: <indug (AT) yahoogroups (DOT) com>; <delphi (AT) elists (DOT) org>
    Sent: Tuesday, August 23, 2005 5:07 AM
    Subject: Iranian calender

    How we can use Iranian calendar in our application. I mean to say I want
    to display Iranian calendar in user interface similar to TCalender
    object, save then in MS access database and then print the Iranian date
    in report and other user interface.

    Regards
    Uttam

    Delphi mailing list -Delphi (AT) elists (DOT) org

    Delphi mailing list -Delphi (AT) elists (DOT) org
  • No.3 | | 1572 bytes | |

    Rich,
    The problem is to find out what Uttam is really after.
    The iranian or whatever calender is easyly achived by having a Unicode
    Calnder Control. How ever the displaying of dates would be a problem,
    e.g. 31/02/1371 is a valid date (in dd/mm/yyyy format) but there is no
    way to get the usual Calendar to accept 31st of feb for what ever
    year.
    So my question is that does he whant to display Iranian dates with a
    calender that accepts any date values or a real iranian calender where
    the characters are also in Farsi.

    for a screen shot of a farsi calnder component look at

    there is an open source java farsi component on source forge.

    HTH

    8/24/05, Rich Cooper <rcooper15 (AT) comcast (DOT) netwrote:
    Can you send an image of an Iranian calendar? I doubt if most of
    us have ever seen one. With an image, we may be able to offer suggestions
    about how to implement it.

    HTH,
    Rich

    Message
    From: "Uttam Kumar Kotdiya" <Uttam.Kotdiya (AT) entity-solutions (DOT) com>
    To: <indug (AT) yahoogroups (DOT) com>; <delphi (AT) elists (DOT) org>
    Sent: Tuesday, August 23, 2005 5:07 AM
    Subject: Iranian calender

    How we can use Iranian calendar in our application. I mean to say I want
    to display Iranian calendar in user interface similar to TCalender
    object, save then in MS access database and then print the Iranian date
    in report and other user interface.

    Regards
    Uttam

    Delphi mailing list -Delphi (AT) elists (DOT) org
  • No.4 | | 1688 bytes | |

    A better Control is found here

    8/25/05, Arjang Assadi <arjang.assadi (AT) gmail (DOT) comwrote:
    Rich,
    The problem is to find out what Uttam is really after.
    The iranian or whatever calender is easyly achived by having a Unicode
    Calnder Control. How ever the displaying of dates would be a problem,
    e.g. 31/02/1371 is a valid date (in dd/mm/yyyy format) but there is no
    way to get the usual Calendar to accept 31st of feb for what ever
    year.
    So my question is that does he whant to display Iranian dates with a
    calender that accepts any date values or a real iranian calender where
    the characters are also in Farsi.

    for a screen shot of a farsi calnder component look at

    there is an open source java farsi component on source forge.

    HTH

    8/24/05, Rich Cooper <rcooper15 (AT) comcast (DOT) netwrote:
    Can you send an image of an Iranian calendar? I doubt if most of
    us have ever seen one. With an image, we may be able to offer suggestions
    about how to implement it.

    HTH,
    Rich

    Message
    From: "Uttam Kumar Kotdiya" <Uttam.Kotdiya (AT) entity-solutions (DOT) com>
    To: <indug (AT) yahoogroups (DOT) com>; <delphi (AT) elists (DOT) org>
    Sent: Tuesday, August 23, 2005 5:07 AM
    Subject: Iranian calender
    --
    How we can use Iranian calendar in our application. I mean to say I want
    to display Iranian calendar in user interface similar to TCalender
    object, save then in MS access database and then print the Iranian date
    in report and other user interface.

    Regards
    Uttam
    --

    Delphi mailing list -Delphi (AT) elists (DOT) org
  • No.5 | | 2264 bytes | |

    Arjang Assadi wrote:
    Rich,
    The problem is to find out what Uttam is really after.
    The iranian or whatever calender is easyly achived by having a Unicode
    Calnder Control. How ever the displaying of dates would be a problem,
    e.g. 31/02/1371 is a valid date (in dd/mm/yyyy format) but there is no
    way to get the usual Calendar to accept 31st of feb for what ever
    year.
    So my question is that does he whant to display Iranian dates with a
    calender that accepts any date values or a real iranian calender where
    the characters are also in Farsi.

    for a screen shot of a farsi calnder component look at

    there is an open source java farsi component on source forge.

    HTH

    8/24/05, Rich Cooper <rcooper15 (AT) comcast (DOT) netwrote:

    >>Can you send an image of an Iranian calendar? I doubt if most of
    >>us have ever seen one. With an image, we may be able to offer suggestions
    >>about how to implement it.


    My guess is that he's not looking to simply translate the
    calendar; but is rather looking to implement a calendar control
    for the Muslim Religious calendar, which is a lunar based
    calendar that doesn't jibe in simple fashion with the Gregorian
    solar calendar; it's similar to the Jewish Religious calendar,
    but has different months and start date.

    The only place I've seen solid logic for working with various
    calendars like this is this book:

    Title: Standard C Date/Time Library:
    Programming the World's Calendars and Clocks
    Author: Lance Latham
    Publisher: CMP Books (May 1, 1998)
    ISBN: 0879304960

    Don't let the "Standard C" appelation put you off, it actually
    uses a form of C stripped down to where it's approaching
    pseudo-code and should be VERY easy to follow even for a C novice.

    It's a terrific reference for anyone interested in calendars and
    time keeping.

    I also found a few websites that may be of interest:

    http://emr.cs.uiuc.edu/~reingold/calendars.shtml

    Stephen Posey
    slposey (AT) concentric (DOT) net

    Delphi mailing list -Delphi (AT) elists (DOT) org
  • No.6 | | 948 bytes | |

    8/25/05, Stephen Posey <slposey (AT) concentric (DOT) netwrote:
    My guess is that he's not looking to simply translate the
    calendar; but is rather looking to implement a calendar control
    for the Muslim Religious calendar, which is a lunar based
    calendar that doesn't jibe in simple fashion with the Gregorian
    solar calendar; it's similar to the Jewish Religious calendar,
    but has different months and start date.
    In that case Iranian Calendar wont suite that task.
    Iranian Calender is Solar and non religious, it is based on the 4
    seasons and there used to have start date of 500BC, the new Iranian
    Calendar coincides with 662 AD. which is the start of Muslim calender.
    Without him saying what he really is after there is no point in
    providing anymore answers to an ambiguous question.

    Kind Regards
    Arjang Assadi

    Delphi mailing list -Delphi (AT) elists (DOT) org
  • No.7 | | 3071 bytes | |

    Dear Assadi,

    I don't know what you mean by Iranian Calendar Is it different from
    Hijri Calendar ? if Not the calendar is built in windows in regional
    settings
    just choose Hijri Calendar,.
    If Its different then go to this site

    they have persian calendar component.

    Bahry

    Borland's Delphi Discussion List wrote:

    Arjang Assadi wrote:
    Rich,
    The problem is to find out what Uttam is really after.
    The iranian or whatever calender is easyly achived by having a Unicode
    Calnder Control. How ever the displaying of dates would be a problem,
    e.g. 31/02/1371 is a valid date (in dd/mm/yyyy format) but there is no
    way to get the usual Calendar to accept 31st of feb for what ever
    year.
    So my question is that does he whant to display Iranian dates with a
    calender that accepts any date values or a real iranian calender where
    the characters are also in Farsi.

    for a screen shot of a farsi calnder component look at

    there is an open source java farsi component on source forge.

    HTH

    8/24/05, Rich Cooper <rcooper15 (AT) comcast (DOT) net
    <mailto:rcooper15 (AT) comcast (DOT) net>wrote:
    >
    >>Can you send an image of an Iranian calendar? I doubt if most of
    >>us have ever seen one. With an image, we may be able to offer

    suggestions
    >>about how to implement it.

    >

    My guess is that he's not looking to simply translate the
    calendar; but is rather looking to implement a calendar control
    for the Muslim Religious calendar, which is a lunar based
    calendar that doesn't jibe in simple fashion with the Gregorian
    solar calendar; it's similar to the Jewish Religious calendar,
    but has different months and start date.

    The only place I've seen solid logic for working with various
    calendars like this is this book:

    Title: Standard C Date/Time Library:
    Programming the World's Calendars and Clocks
    Author: Lance Latham
    Publisher: CMP Books (May 1, 1998)
    ISBN: 0879304960

    Don't let the "Standard C" appelation put you off, it actually
    uses a form of C stripped down to where it's approaching
    pseudo-code and should be VERY easy to follow even for a C novice.

    It's a terrific reference for anyone interested in calendars and
    time keeping.

    I also found a few websites that may be of interest:

    http://emr.cs.uiuc.edu/~reingold/calendars.shtml
    <http://emr.cs.uiuc.edu/%7Ereingold/calendars.shtml>


    >
    >
    >

    Stephen Posey
    slposey (AT) concentric (DOT) net <mailto:slposey (AT) concentric (DOT) net>
    >
    >
    >


    Delphi mailing list -Delphi (AT) elists (DOT) org <mailto:Delphi (AT) elists (DOT) org>

    .

    Delphi mailing list -Delphi (AT) elists (DOT) org
  • No.8 | | 1189 bytes | |

    Arjang Assadi wrote:
    8/25/05, Stephen Posey <slposey (AT) concentric (DOT) netwrote:

    >>My guess is that he's not looking to simply translate the
    >>calendar; but is rather looking to implement a calendar control
    >>for the Muslim Religious calendar, which is a lunar based
    >>calendar that doesn't jibe in simple fashion with the Gregorian
    >>solar calendar; it's similar to the Jewish Religious calendar,
    >>but has different months and start date.


    In that case Iranian Calendar wont suite that task.
    Iranian Calender is Solar and non religious, it is based on the 4
    seasons and there used to have start date of 500BC, the new Iranian
    Calendar coincides with 662 AD. which is the start of Muslim calender.
    Without him saying what he really is after there is no point in
    providing anymore answers to an ambiguous question.

    Agreed, we should wait for clarification rather than speculating
    in the dark.

    Stephen Posey
    slposey (AT) concentric (DOT) net

    Delphi mailing list -Delphi (AT) elists (DOT) org

Re: Iranian calender


max 4000 letters.
Your nickname that display:
In order to stop the spam: 6 + 6 =
QUESTION ON "Delphi"

EMSDN.COM