Delphi 7'de Hijri Calendar(Takvim) Tanımlama....

Delphi'de kod yazma ile ilgili sorularınızı bu foruma yazabilirsiniz.
Cevapla
Kullanıcı avatarı
HBV
Üye
Mesajlar: 114
Kayıt: 30 Haz 2005 09:28

Delphi 7'de Hijri Calendar(Takvim) Tanımlama....

Mesaj gönderen HBV »

Yaptığım Proğramda Hicri Takvimi göstermek için "Uses" de nasıl tanımlamam lazım Delphi8' de ve Delphi9'da(2005);

Kod: Tümünü seç

System.Globalization;
olarak tanımlanıyor. Herkese hayırlı çalışmalar.
Kullanıcı avatarı
mrmarman
Üye
Mesajlar: 4741
Kayıt: 09 Ara 2003 08:13
Konum: İstanbul
İletişim:

Mesaj gönderen mrmarman »

Forumdaki makalelerde bir örnek var ama işini görmezse sorunu detaylandırırsan araştırırız.. Çünkü google'da şöyle bir bakınınca C language için yazılmış bir kaç örnek gördüm...

viewtopic.php?t=2475
Resim
Resim ....Resim
Kullanıcı avatarı
HBV
Üye
Mesajlar: 114
Kayıt: 30 Haz 2005 09:28

Mesaj gönderen HBV »

Selamlar,..Ben kandilleride icine alan bir program yapiyorum yanliz hesaplamalari cok iyi yapmak lazim.mesala Miladi -
Takvime gore Hicri Takvim 10.8752 (Tam Rakam degil) gun daha kisa bu hesaplamayi iyi yapmak lazim. Delphi-8 ve Delphi-9(2005)`Kutuphanesinde
''hijri Calendar'' i Uses de ''System.Globalization;'' Olarak tanimliyorsunuz, ve hesaplamalarda sasma olmuyor,siz sadece kod`larla
gerekli olaylari diger hesaplamalari yapiyorsunuz. Tekrar Tesekkur Ederim.






Yarabi!!! ne guzel yazmissin programini, her 33 seneyi devir(Donguyle) de,Senelerin,Mevsimlerin her gunu oruc tutma zevkini tattiriyorsun!
Kullanıcı avatarı
mrmarman
Üye
Mesajlar: 4741
Kayıt: 09 Ara 2003 08:13
Konum: İstanbul
İletişim:

Mesaj gönderen mrmarman »

Görünen o ki, bu kütüphaneyi kullanabilmek için DotNet application hazırlamak lazım geliyor... Zaten Google'daki kaynaklar da hep .NET platformu için yazılmış... .NET'te yaparım diyorsanız konuyu "Delphi .net" başlığına taşıyalım.. Win32 çözümü arıyorsanız kalsın...

Delphi Help yazdı:

Kod: Tümünü seç

  .NET Framework General Reference   

<globalization> ElementSee Also
ASP.NET Configuration | ASP.NET Settings Schema | Encoding Base Types
Requirements
Contained Within: <system.web>

Web Platform: IIS 5.0, IIS 5.1, IIS 6.0

Configuration File: Machine.config, Web.config

Configuration Section Handler: System.Web.Configuration.GlobalizationConfigHandler
Configures the globalization settings of an application.

<configuration>
   <system.web>
      <globalization>

<globalization requestEncoding="any valid encoding string"
               responseEncoding="any valid encoding string"
               fileEncoding="any valid encoding string"
               culture="any valid culture string"
               uiCulture="any valid culture string"/>
Optional Attributes
Attribute Description 
requestEncoding Specifies the assumed encoding of each incoming request, including posted data and the query string. If the request comes with a request header containing an Accept-Charset attribute, it overrides the requestEncoding in configuration. The default encoding is UTF-8, specified in the <globalization> tag included in the Machine.config file created when the .NET Framework is installed. If request encoding is not specified in a Machine.config or Web.config file, encoding defaults to the computer's Regional Options locale setting. In single-server applications, requestEncoding and responseEncoding should be the same. For the less common case (multiple-server applications where the default server encodings are different), you can vary the request and response encoding using local Web.config files. 
responseEncoding Specifies the content encoding of responses. The default encoding is UTF-8, specified in the <globalization> tag included in the Machine.config file created when the .NET Framework is installed. If response encoding is not specified in a Machine.config or Web.config file, encoding defaults to the computer's Regional Options locale setting. In single-server applications, requestEncoding and responseEncoding should be the same. For the less common case (multiple-server applications where the default server encodings are different), you can vary the request and response encoding using local Web.config files. 
fileEncoding Specifies the default encoding for .aspx, .asmx, and .asax file parsing. Unicode and UTF-8 files saved with the byte order mark prefix will be automatically recognized regardless of the value of fileEncoding. 
culture Specifies the default culture for processing incoming Web requests. For valid culture strings, see System.Globalization.CultureInfo Class. 
uiCulture Specifies the default culture for processing locale-dependent resource searches. For valid culture strings, see System.Globalization.CultureInfo Class. 

Remarks
If the server or application fileEncoding attribute setting is configured to use UTF-16 and UTF-16 is not the encoding used for an .aspx page in the scope of the configuration file, the output sent to the client browser will be corrupted and might possibly display the source code of the page. Please ensure that the configured fileEncoding value matches the encoding being used in the page.

Example
The following example specifies the default request and response encoding for an ASP.NET application.

<configuration>
   <system.web>
      <globalization 
         requestEncoding="iso-8859-1"
         responseEncoding="iso-8859-1"/>
   </system.web>
</configuration>
Requirements
Contained Within: <system.web>

Web Platform: IIS 5.0, IIS 5.1, IIS 6.0

Configuration File: Machine.config, Web.config

Configuration Section Handler: System.Web.Configuration.GlobalizationConfigHandler

See Also
ASP.NET Configuration | ASP.NET Settings Schema | Encoding Base Types


Syntax based on .NET Framework version 1.1.
Documentation version 1.1.0.


--------------------------------------------------------------------------------

Send comments on this topic. 

© 2001-2002 Microsoft Corporation. All rights reserved. 
Resim
Resim ....Resim
Cevapla