Hayanaratna · by Balabhadra
Chapter 1 · Planets, Signs, Year Entry
ग्रहराशिस्वरूपवर्षप्रवेशाद्यानयनाधिकारः
यद्वारात्रिजन्मनि वर्षसंघोत्थघटीषुरात्रिगतघटिकायोज्यास्तत्र वर्षलग्नस्पष्टीकरणं सषट्कसूर्यात्कर्तव्यं यतो गतघटिकाः सूर्यास्ताद्याताइति अथवा वर्षसंघोत्थघट्याद्यभिष्टकालं प्रकल्प्य सजन्मलग्नं रविं प्रकल्प्य यल्लग्नं तद्वर्षप्रवेशलग्नं भवति ॥
Or, for a night birth: add the night ghatikas (24-minute unit) gone to the ghatikas from the year total. Then make the year lagna (rising sign) exact from the Sun plus six signs. This is because the ghatikas gone are counted from sunset. Or else: take the ghatikas and the rest from the year total as the chosen time. Take the birth lagna as the Sun. The lagna that comes out is the lagna of the year's entry.
Simple meaning: Night birth, other ways: count the night time from sunset with the Sun plus six signs, or count the time from the birth lagna.
एवं सकलगणकसार्वभौमश्रीमद्रामदैवज्ञाप्तविधैर्मादृशैरनेके विशेषाः कर्तुं शक्यंते परंतु विस्तरभयादनुयोगः ॥
More refinements: possible, but left out because the book would grow too long.
अत्रेदंध्येयं ॥ यदिचैत्रादेरनंतरमपि मीनार्के जन्म तदा पूर्ववर्षशक एव जन्मशकः प्रकल्प्यः ॥ एवं जन्मार्कसमभानुश्चैत्रादेरूर्ध्वं मेषादेः प्राग्भवति तदा प्रागब्दशक एवाभीष्टशकः प्रकल्प्यः ॥ मेषादेरूर्ध्वं त्वग्रिमशक एव ज्ञेयः ॥
Which Shaka year: if the Sun is still in Pisces after Chaitra starts, use the year before.
अन्यथाधिमाससंभवे कदाचिदेव चंद्रवर्षमध्ये द्विवारं जन्मार्कसमभानोः संभवेन वर्षद्वयोत्थवारादिवैलक्षण्यमपेक्षितमपि गतसमासाम्यान्न स्यात् एवमधिमाससहितवर्षांदग्रिमवर्षे कदाचिच्चांद्रवर्षमुल्लंघ्यापि जन्मार्कसमभानौ जातेसत्येकवर्षवारादिसमं वारादेरंतरं च स्यात् तस्मात्सौरवर्षादौ शकप्रवृत्तिर्ज्ञेयेति ।
Why the solar year: with an extra lunar month, lunar counting can give the wrong years gone. So the Shaka starts with the solar year.