CN103514800A - Calendar display device - Google Patents
Calendar display device Download PDFInfo
- Publication number
- CN103514800A CN103514800A CN201310259760.XA CN201310259760A CN103514800A CN 103514800 A CN103514800 A CN 103514800A CN 201310259760 A CN201310259760 A CN 201310259760A CN 103514800 A CN103514800 A CN 103514800A
- Authority
- CN
- China
- Prior art keywords
- day
- date
- unit
- mentioned
- calendar
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
The invention provides a calendar display device which can easily obtain an accurate hijrah date of a user at a desired position. The calendar display device is provided with a timing unit used for calculating dates of the Gregorian calendar; a calendar converting unit which converts the dates of the Gregorian calendar into dates of the hijrah calendar by using a preset conversion table, a moon position calculating unit used for calculating the sunset hour at a set position and a moon position at the sunset hour; a moon beginning determination unit for determining dates of month replacement in the hijrah calendar according to the calculated moon position; a date setting unit for setting output object dates in the hijrah calendar according to the hijrah dates converted by the calendar converting unit and determination results of the moon beginning determination unit; and a display unit for displaying the set output object dates.
Description
Technical field
The present invention relates to calendar display apparatus.
Background technology
There is the clock that can show date (date) and week in the past.Used the various calendars (calendar) of solar calendar (Gregorian calendar, Greggory are gone through (Gregorian calendar)) to be widely used in many countries, in various clocks, can easily calculated, obtain and show together with moment data.
On the other hand, it is lunar calendar that the Hijra mainly utilizing the various countries in the Arabia Peninsula and Moslem is all over the world gone through (Hegira calendar), sets month replacement according to the first and the fifteenth day of the lunar month of the moon.That is, in going through, this Hijra will be made as 1 day of next month its next day when observing crescent through north (monthly age 0.0) at sunset.Hijra as formula has the calendar of repeatedly being delivered and being used by Saudi Arabia or the relevant person of religion etc. all through the ages, and in existing electronic clock, there is following calendar function: alternately repeat every other month 30 (the odd number moon) and (the even number moon) on the 29th, and calculate between 30 years predetermined 11 times by the Simple calendar that is made as 30 days Dec, and show (patent documentation 1,2).
In addition, such calendar display apparatus is disclosed in patent documentation 3: the calendar that the acquisition Hijra of a year that can convert from the date data of the Gregorian calendar is gone through also shows.
Prior art document
Patent documentation
Patent documentation 1: Japanese kokai publication sho 60-133389 communique
Patent documentation 2: Japanese kokai publication hei 8-233954 communique
Patent documentation 3: Japanese kokai publication hei 6-201861 communique
Summary of the invention
But, constantly different respectively in sunset all over the world, that is, different at the monthly age constantly of sunset all over the world.Therefore there is such problem: inhabit all over the world or be displaced into user that Hijra all over the world goes through and use the Hijra calendar day of calculating based on existing Simple Calculation to go through can not easily to obtain the on-site calendar accurately of user, need to monthly carry out corrective operations.
The object of the present invention is to provide a kind of calendar display apparatus, the Hijra more accurately that can easily obtain the desirable place of user is gone through.
The present invention, in order to reach above-mentioned purpose, provides a kind of calendar display apparatus, it is characterized in that having:
Timing unit, it is for counting the date of the Gregorian calendar;
Calendar scaling unit, it uses predetermined conversion table, is scaled the date that Hijra is gone through from the date of the above-mentioned Gregorian calendar;
Unit is calculated in moon position, and it is for calculating the sunset moment and this sunset moon position constantly of desired location;
The beginning of the month identifying unit, it is according to calculating the moon position of calculating unit by this moon position, judges the date that Hijra calendar month of above-mentioned desired location substitute
Day settings unit, its according to Hijra calendar date of being conversed by above-mentioned calendar scaling unit and above-mentioned beginning of the month identifying unit result of determination set the object output date that Hijra is gone through; And
Display unit, it showed the object output date of being set by this day settings unit.
According to the present invention, there is following effect: in calendar display apparatus, can be more accurately and easily obtain Hijra calendar date in the desirable place of user.
Accompanying drawing explanation
Fig. 1 means the block scheme of the electronic clock of embodiments of the present invention.
Fig. 2 means the process flow diagram of the control procedure that the date change of present embodiment is processed.
Fig. 3 means that Hijra goes through the process flow diagram of the control procedure that output processes.
Fig. 4 means that Hijra goes through the process flow diagram of the control procedure that output processes.
Fig. 5 means the chart of the associative mode of conversion Hijra calendar day and output setting day.
Embodiment
Below, with reference to the accompanying drawings embodiments of the present invention are described.
Fig. 1 means the block scheme as the inner structure of the electronic clock 1 of the embodiment of calendar display apparatus of the present invention.
This electronic clock 1 is can carry or mobile clock, for example, is wrist-watch or pocket-watch.Or this electronic clock 1 can be also small-sized and/or light-duty desk clock.
CPU11 unifies to control various processing and the numerical operation processing of molar behavior.In ROM12, store the various programs of calling and carrying out by CPU11, and the initial setting data that are utilized in these programs.The storage space that RAM13 provides operation to use to CPU11, and user's setting data and various ephemeral data are stored.
The program that is stored in ROM12 comprises: calendar conversion program 12a described later, sunset and monthly age are calculated program 12c.The calculation method at the sunset moment and monthly age is the method based on having used the well-known computing method of latitude longitude information, at least can calculate the monthly age of the synodic periods (29.53 days) based on average month.In addition, in the calculation method at this monthly age, according to can suitably comprising the various parameters relevant with the moon orbital elements that are called moon revolution orbit eccentricity to electronic clock 1 permissible accuracy, and can use more high-precision approximate expression or the map table corresponding with change about each synodic periods ± 0.3 day.In addition, be stored in and in the setting data of ROM12, include the geodata that the time difference information in city name He Yougai city all over the world, latitude and precision are formed and associate the city list 12b(desired location list storage unit of storing).
On the other hand, the setting data that is stored in RAM13 comprises: the relevant various data of demonstration of going through with Hijra, i.e. date data 13a(date storage described later unit), set mark 13b the beginning of the month, have calibration marker 13c(dislocation to set storage unit) and Hijra go through skew 13d.
Electric wave reception portion 21 through antenna AN receive and demodulation at the electric wave (standard wave) of the long wave band of delivery time information all over the world.By CPU21, controlled reception and the moment based on receiving data of this standard wave and revise, and (for example, once a day predetermined the moment) carries out in predetermined time interval.In addition, by the control of CPU11, suitably switch the tuned frequency by this electric wave reception portion 21 demodulation standard wave signals.
17 pairs of timing circuits from the predetermined frequency signal of frequency dividing circuit 16 inputs count and to constantly and the date count.Here the date being counted is for example the date based on the Gregorian calendar, but can be also for date of reference point arbitrarily.According to the moment data that receive, decode by electric wave reception portion 21, by the control of CPU11, this date data is revised to rewriting.
In addition, this display part 19 can switch the demonstration of the demonstration on Gregorian calendar date and Hijra calendar date.The Gregorian calendar date data keeping from timing circuit 17 when carrying out the demonstration of Hijra calendar date converts and obtains the date that Hijra goes through and be shown to display part 19.
Next, the date output of embodiment of the present invention is described.
Fig. 2 means the process flow diagram of the control procedure that the date of carrying out in the electronic clock 1 of the present embodiment change based on CPU11 is processed.
In the electronic clock 1 of present embodiment, according to the date data of timing circuit 17 countings, for example in the change change processing (0: 0) Start Date constantly on date, calculate the date after changing once a day.In this is processed, first, CPU11 obtains date data (step S101) from timing circuit 17.Next, CPU11 sets to output that to be whether Hijra go through and differentiate (step S102).When differentiating for not being output that Hijra is gone through while setting, the Greggory that CPU11 obtains to display part 19 outputs is gone through the date (step S111) of (Gregorian calendar).Then, the CPU11 Close Date is changed processing.
On the other hand, when differentiating for output setting is that Hijra lasts, CPU11 calls calendar conversion program 12a from ROM12, the conversion on the date that the date of carrying out going through from Greggory is gone through to Hijra (step S103).
CPU11 also obtains latitude, the longitude data (step S104) in the city being set from city list 12b.CPU11 calls sunset and the monthly age is calculated program 12c, and the date of calculating this latitude, longitude is calculated the sunset moment of object day, then, calculates this sunset monthly age (step S105) constantly.Next, CPU11 carries out according to these values of calculating and obtains correct Hijra calendar date and export the output processing (step S106) that Hijra is gone through.During date that CPU11 output Hijra is gone through, Close Date change is processed.
Fig. 3 and Fig. 4 mean the process flow diagram of going through the control procedure of output processing based on the Hijra that calls and carry out in date change processing of CPU11.
When calling Hijra, go through output while processing, first, as shown in Figure 3, whether the earning in a day on the date that the Hijra that CPU11 converses the processing at step S103 is gone through (conversion Hijra day) is within 29th, to differentiate (step S201).Next, when differentiating while Hijra day being 29 for conversion, whether whether CPU11 is in the preset range after the first day of the lunar month to the monthly age, for example, be that 1.1 above less thaies 5.0 are judged (step S202).When differentiating when the monthly age is in this preset range, (the step S203) on the 1st that the day settings that CPU11 goes through Hijra are next month.In addition, CPU11 will set flag settings the beginning of the month for " unlatching " (step S204).Next, step S301 is transferred in the processing of CPU11.
Next, when the differentiation processing differentiation at step S201 is not 29 for conversion Hijra day, whether CPU11 is within 30th, to differentiate (step S211) to conversion Hijra day, when differentiating when being 30, CPU11 differentiates to set to mark whether it is " unlatching (ON) " (step S212) beginning of the month.When differentiation is not " unlatching " (being " closing (OFF) ") for setting mark the beginning of the month, step S202 is transferred in the processing of CPU11, and carried out with the same processing of the situation of 29 days after, CPU11 proceeds to the some of step S301 or step S311 by processing.On the other hand, when differentiation is " unlatching " for setting mark the beginning of the month, CPU11 directly makes to process and transfers to step S311.
When the differentiation processing differentiation at step S211 is not 30 for conversion Hijra day, whether CPU11 is also within 1st, to differentiate (step S221) to conversion Hijra day.When differentiation is 1 for conversion Hijra day, CPU11 differentiates the beginning of the month and sets to mark whether it is " unlatching " (step S222).When differentiation is " unlatching " for setting mark the beginning of the month, step S311 is directly transferred in the processing of CPU11.When differentiation is not " unlatching " (being " closing ") for setting mark the beginning of the month, CPU11 differentiates whether the monthly age is not enough predetermined value, for example not enough 1.1(step S223).When differentiating while being less than 1.1 for the monthly age, CPU11 by the value on the date of going through to the Hijra of current setting add 1 and must day settings be the date (step S224) that Hijra is gone through.Now, will carry out the earning in a day of addition and independently be added to 30 in any month.Next, step S301 is transferred in the processing of CPU11.When differentiating, be while the monthly age being not less than 1.1, it is " unlatching " (step S225) afterwards that CPU11 will set flag settings the beginning of the month, and the day settings that Hijra is gone through are of that month (step S234) on the 1st.Next, step S301 is transferred in the processing of CPU11.
When the differentiation processing differentiation at step S221 is not 1 for conversion Hijra day, CPU11 differentiation converts whether Hijra day is (step S231) on the 2nd.When differentiation is not 2 for conversion Hijra day, step S311 is directly transferred in the processing of CPU11.When differentiation is 2 for conversion Hijra day, CPU11 differentiates the beginning of the month and sets to mark whether it is " unlatching " (step S232).When differentiation is " unlatching " for setting mark the beginning of the month, CPU11 will set mark the beginning of the month and be made as " closing " (step S233), next, process and will transfer to step S311.When differentiation is not " beginning " (being " closing ") for setting mark the beginning of the month, step S234 is transferred in the processing of CPU11.
While transferring to the processing of step S301, as shown in Figure 4, whether the date that CPU11 differentiation sets equates Hijra day with conversion.When differentiating when equating, CPU11 will have calibration marker to be set as " closing " (step S302), and when differentiating when unequal, CPU11 will have calibration marker to be set as " unlatching " (step S303).
Processing at step S302 or step S303 has been set after calibration marker, and CPU11 goes through skew by Hijra and is made as " closing ".That is, will set " 0 " (step S304) from the magnitude of misalignment of setting day.CPU11 outputs to display part 19 by setting day, and shows (step S305), finishes Hijra and goes through output processing, and Return Date change is processed.At this moment as date data 13a, store in the lump the setting day of output into RAM13.
On the other hand, while transferring to the processing of step S311, whether CPU11 differentiates will have calibration marker to be set as " unlatching ".When differentiating for will have calibration marker to be set as " unlatchings " time, CPU11 by the earning in a day on the date of going through to the Hijra of current setting add 1 and must day settings be the setting day (step S312) that Hijra is gone through.Next, CPU11 differentiates Hijra whether go through skew is " closing " (step S314).When differentiating for Hijra, go through and be offset while being " closing ", CPU11 directly transfers to processing step S305.When differentiating when going through skew for Hijra and not being " closing ", CPU11 make to set moved forward and backward the represented number of days of the off-set value of setting day after (step S315), outputing to display part 19 setting day and showing (step S305) after this is moved.Then, CPU11 finishes Hijra and goes through output and processes and turn back to date change processing.
When differentiating when not having to have calibration marker to be set as " unlatchings " (being set as " closing ") (step S311 "No"), CPU11 will directly be made as setting day (a step S313) the conversion Hijra day of acquisition.Next, CPU11 differentiates Hijra whether go through skew is " closing " (step S314).When differentiating for Hijra, go through and be offset while being " closing ", CPU11 directly transfers to processing step S305.When differentiating when going through skew for Hijra and not being " closing ", CPU11 make to set moved forward and backward the represented number of days of the off-set value of setting day after (step S315), outputing to display part 19 setting day and showing (step S305) after this is moved.Then, CPU11 finishes Hijra and goes through output and processes and turn back to date change processing.
Fig. 5 means the conversion Hijra day of being calculated by the electronic clock 1 of present embodiment and goes through by Hijra the correspondence graph that substitutes front and back month that the setting day of exporting is processed in output.
Fig. 5 (a1)~(a5) is illustrated in and comprises the having for month in month (solar month of 30 days) of 29 days of Hijra calendar date of being conversed by step S103, from when the end of month is across the correspondence graph to beginning of next month.
As shown in Fig. 5 (a1), in the situation that the some middle conversion Hijra day of of that month and next month and setting day are identical, first, when conversion is 28 Hijra day, date in step S201, S211, S221, S231 is differentiated processing and is all divided into "No", in addition, because calibration marker is " closing " (step S311 "No"), directly conversion Hijra day is made as and sets day (a step S313), when Hijra, go through skew while being " closing " (step S314 "Yes"), directly day (a step S305) is set in output.Next, conversion is while being 29 Hijra day, after differentiating and process and be divided into "Yes" on the date of step S201, due to through the first day of the lunar month also not through 1.1 days, so process and be divided into "No" in the differentiation of step S202.Then, after the processing of step S311, similarly, will convert Hijra day directly as setting day output (step S313, S305).
In addition, when conversion is 1 Hijra day, on the date of step S201, S211, differentiate processing and be divided into "No", differentiation in step S221 is processed and is divided into "Yes", in the processing of step S222, owing to setting mark the beginning of the month, still " close " so be divided into "No", transfer to the processing of step S223.And at this moment the monthly age is more than 1.1, is divided into "No", will sets flag settings the beginning of the month for " unlatching " (step S225), and being decided to be for 1st of conversion Hijra day and same month set to day (a step S234).Result is to equate day and conversion Hijra day owing to setting, so will there be calibration marker to be set as " closing " (step S301, S302).In addition, it is " closing " (step S304) that Hijra is gone through to offset setting, and day (a step S305) set in output.
In addition, when conversion is while being 2 Hijra day, the date in step S201, S211, S221 is differentiated and processes and after being divided into "No", in the differentiation of step S231, processes and is divided into "Yes".Owing to having set mark " unlatching " beginning of the month on 1st, thus the processing that is divided into "Yes" and transfers to step S233 in the differentiation of step S232, processed, and set mark the beginning of the month that this is set as to " unlatching " and be made as " closing ".After this, due to conversion Hijra day be that the situation of 28,29 is same, having calibration marker is " closing " (step S311 "No"), so it is " closing " (step S314 "Yes") that Hijra is gone through skew, directly will converts and Hijra day export (step S305) as setting day (a step S313).
Next, as shown in Fig. 5 (a2), long 1 o'clock of the number of days in judgement solar month of 30 days, changes the processing of above-mentioned (a1) in the processing after conversion is 1 Hijra day.
When conversion is 1 Hijra day, by the processing of step S223, being differentiated is the monthly age to be still less than 1.1.Therefore, CPU11 adds 1 on 29th to setting day of the previous day, as the setting day of this day, 30 days of last month is made as and sets day (a step S224).Result is different with conversion Hijra day owing to setting day, so will there be calibration marker to be set as " unlatching " (step S301, step S303) afterwards, day (a step S305) set in output.
In addition, when conversion is 2 Hijra day, owing to setting mark the beginning of the month, be still " closing " (step S232 "No"), so CPU11 is set as of that month (step S234) on the 1st by this day.And, again will there is calibration marker to be set as " unlatching " (step S301, S303) afterwards, day (a step S305) set in output.
In addition, when conversion Hijra day, be after 3 days time, in the differentiation of step S311, process that to differentiate be " unlatchings " for there being calibration marker, set day and be to the previous day and add one day and date (step S312) of obtaining.
As shown in Fig. 5 (a3), when setting day moved on to next month than a conversion Hijra day Wan Yi world from this month, substituting from month, just maintaining calibration marker is " unlatching " state.
That is, when conversion is while being 28,29 Hijra day, in the differentiation of step S311, process and be divided into "Yes", according to before separately set 27 setting day, (step S312) on the 28th.
In addition, when conversion is 1 Hijra day, in the processing of the identical flow process of processing with Fig. 5 (a2), according to the processing of the setting day of the previous day (28 days) at step S312,29 days of last month is made as and sets day.The processing of conversion while Hijra day being 2 with shown in Fig. 5 (a2) conversion Hijra day be 2 time processing identical.
As shown in Fig. 5 (a4), and Fig. 5 (a3) on the contrary, sets while day moving on to next month than a conversion Hijra day Zao Yi world from this month, made similarly calibration marker keep " unlatching " state.Therefore, in this case when conversion is while being 28 Hijra day, in the processing of step S311, be divided into "Yes", will within 29th, be set as setting day (a step S312) next day of the previous day.
In addition, when conversion is 29 Hijra day, in the differentiation of step S202, processes and differentiate for the monthly age is more than 1.1 to be divided into "Yes", and (the step S203) on the 1st that be set as next month, and will set flag settings the beginning of the month for " unlatching " (step S204).Result is different with conversion Hijra day owing to setting day, so again will there be calibration marker to be set as " unlatching " (step S301, S303).Then, day (a step S305) set in output.
When conversion Hijra day is while being 1 day or 2 days, owing to setting flag settings the beginning of the month for " unlatching ", so be divided into "Yes" and advance to the processing of step S311 in the processing of step S222, S232 respectively, according to having calibration marker (" unlatching ") separately to the setting day of the previous day adding one day, respectively 2,3 are made as and set day (step S311, the S312) line output of going forward side by side (step S305) thus.
In addition, also there is such situation: as shown in Fig. 5 (a5), by establishing the month of long one day of scaling transformation Hijra day, with month, substitute and equate calendar date with the Hijra conversing than the date of fast one day of the calendar date of Hijra conversing.At this moment, treatment scheme when conversion is 28,29 Hijra day is except setting respectively, export 29,30, and other the flow process with shown in Fig. 5 (a3) is identical.In addition, conversion Hijra day is that processing after 1 day time is identical with Fig. 5 (a1).Then, when month substitutes, in the processing of step S301, S302, will there is calibration marker to set and change to " closing ".
On the other hand, Fig. 5 (b1)~(b5) represents to go through from the Hijra conversing within one month, be have 30 days month (solar month) the end of month and to the correspondence graph at beginning of the month of next month.
As shown in Fig. 5 (b1), when last month and next month, be all conversion Hijra day and set day when consistent, except appending the processing this point of conversion while Hijra day being 30, it is identical that other Hijra carrying out when substituting in the month in the solar month of 30 days shown in Fig. 5 (a1) is gone through output processing.; when conversion is 30 Hijra day; in processing, the differentiation of step S211 is divided into "Yes"; in addition; owing to setting mark the beginning of the month, be that " closing " so be divided into "No" in the processing of step S212; then in the differentiation of step S202, process and be divided into "No", transfer to the processing of step S311.
As shown in Fig. 5 (b2), of that month days minus one day and early 1 o'clock each day of next month, it is the same with the usual flow process shown in Fig. 5 (a1) that Hijra when conversion Hijra day is 28 days and 29 days is gone through the flow process that output processes.
In addition, when conversion is while being 30 Hijra day, owing to setting mark the beginning of the month, be " closing ", so when transferring to the differentiation of step S202 and processing, here, differentiate for the monthly age be more than 1.1.Thus, setting day is next month (step S203) on the 1st, in addition, will set mark the beginning of the month and be made as " unlatching " (step S204) and will have calibration marker to be made as " unlatching " (step S301, S303).Conversion Hijra day is that the processing after 1 day time is the same with the processing shown in Fig. 5 (a4).
Chart shown in Fig. 5 (b3) be with the chart shown in Fig. 5 (a3) similarly of that month and continue next month to set day than convert late one day of Hijra day state time chart.Therefore,, the processing this point when Hijra of the chart shown in Fig. 5 (b3) is gone through content that output processes and Hijra day is 30 except appending conversion, other is the same with the content shown in Fig. 5 (a3).; when conversion is 30 Hijra day; after the date differentiation processing at step S211 is divided into "Yes"; setting mark the beginning of the month is " closing " (step S212 "No"); monthly age is (step S202 "No") outside preset range; having calibration marker is " unlatching " (step S311 "Yes"), set to adding 1 day current setting day (28 days) (step S312) on the 29th line output (step S305) of going forward side by side.
In addition, the chart shown in Fig. 5 (b4) be of that month and continue next month to set day than convert fast one day of Hijra day state time chart.About contents processing at this moment, conversion while Hijra day being 28,29 performed Hijra go through output and process identically with the processing shown in Fig. 5 (a5), it is identical with the contents processing shown in Fig. 5 (b2) that when conversion is 30,1 Hijra day, performed Hijra is gone through output processing.
As shown in Fig. 5 (b5), there is such situation: the number of days of month that the number of days of month becomes in going through than the Hijra conversing is short one day, thus as substituting consistent with conversion Hijra day with month than the date of the setting day of late one day of Hijra day of conversion.At this moment, when conversion Hijra day is 29 days and 30 days, performed Hijra is gone through output and is processed that to go through output processing identical with the Hijra shown in Fig. 5 (b3), when in addition, conversion Hijra day is 1 day and 2 days, performed Hijra is gone through output and is processed that to go through output processing identical with the Hijra shown in Fig. 5 (a5).
As mentioned above, the electronic clock 1 of present embodiment will be transformed to calendar conversion program 12a that Hijra goes through and obtain sunset constantly and the sunset at this sunset monthly age constantly and monthly age calculate program 12c and store ROM12 into according to the latitude longitude information of the position setting from the Gregorian calendar, control by CPU11 judges according to the sunset of this desired location monthly age information constantly the beginning of the month that Hijra is gone through, and revises the date that the Hijra that converses is gone through the beginning of the month picking out according to this.Therefore, can accurately and easily know all over the world the Hijra calendar date of the first and the fifteenth day of the lunar month based on the moon.
In addition, the precision of asking according to electronic clock 1, the dislocation in the north the moment suitably dislocation of the moon period of revolution and earth rotation period and the corresponding relation by the eccentricity of the moon and the revolution orbit of the earth etc. being produced in various places is judged, that is, can calculate and show the date substituting along with month accurately.
In addition, by being date data 13a by the date storage of the previous day, except judged day at the beginning of the month, to the earning in a day on this stored date, add 1, can easily carry out the renewal on date thus.
In addition, in only during from 29 to 2, determine whether it is processing constantly at the beginning of the month, owing to just merely adding one day to date of the previous day during in addition, thus unnecessarily calculated amount before the date that is not the beginning of the month, do not increased, thus can suppress the processing of loading.
In addition, by whether the date data conversing being existed dislocation be stored as calibration marker 13c, so become easier owing to can directly exporting the date processing conversing when not proofreading and correct correction.
In addition, in ROM12, store city list 12b, by the latitude longitude information in predefined city name He Gai city is associated and is stored, even if user does not directly call the value of input latitude longitude, by selecting suitable city just can easily know the date and time information that Hijra is gone through accurately.
In addition, due to the moment substituting on the date to the sunset on date after changing constantly and the monthly age calculate, so do not need the data of returning to the previous day to carry out computing, thereby can make to process simplification.
In addition, the invention is not restricted to above-mentioned embodiment, can also carry out various changes.
For example, in the above-described embodiment by carry out the day settings that Hijra goes through day sunset constantly and the relation at this sunset monthly age constantly calculated month replacement, but because the monthly age constantly of the sunset by the previous day decides month to substitute, so the sunset by calculating this previous day constantly with monthly age in this moment, can distinguish more accurately month replacement.At this moment, merely using the north moment as benchmark, owing to being that near values near value or 29 0 are carried out condition criterion by the monthly age, so the sunset that does not need to consider one day dislocation constantly.In addition, in this case, also can merely consider that the difference of the moon in the sunset moment and the coordinate (for example, ecliptic longitude) of the sun is used as the value being equal to the monthly age.
In addition, in the above-described embodiment, using monthly age that the date calculates object day be more than 1.1 as the condition of carrying out month replacement, but because the monthly age 0.1 corresponding about 2.5 hours sometimes can be excessive according to the difference of situation, so can be also than 1.1 little values.For example, it is (monthly age is approximately 0.0035) about 5 minutes that polar region maximum is removed in the sunset of continuous two days variation constantly, so can set this suitable value more than monthly age for according to precision latitude information, the calculating formula in the sunset moment and the precision of the calculating formula at monthly age.Or, if can be included in the error of the direction (direction that the date advances) substituting in north forward direction month, also can merely the monthly age as benchmark be made as to 1.0.In addition can also, according to the direction of permissible error, and only the Hijra of showing in above-mentioned embodiment is gone through to a part of exporting in processing, process.
In addition, above-mentioned embodiment has been considered only to misplace one day between conversion Hijra day and setting day, but suppose due to the eccentricity of moon revolution orbit and the relation of earth 's orbit, obtain month that Hijra goes through and leap year Dec mistiming etc. and misplace two days when above, the action of each Hijra being gone through to the date of output processing expands to 28 and 3 sets, within these 28 days and 3 days, carry out 29 days and same processing on the 2nd with above-mentioned embodiment, in addition, within 29 days and 2 days, carry out and above-mentioned embodiment 30 days and same processing on the 1st, can suitably carry out distinguishing of Hijra calendar month replacement thus.
In addition, the Hijra of above-mentioned embodiment is gone through output and is processed and to using date the previous day that Hijra is gone through and remain date data 13a as prerequisite, but in the situation that not keeping date data 13a, also can calculate the north moment at the moment, by adding that the number of days from this next day can obtain the date that Hijra is gone through.
In addition, in above-mentioned embodiment, store date data 13a, and by adding over 1 day the day settings for next day, but also can memory mapping Hijra day and dislocation number of days rather than the date itself set day, by carrying out additive operation Hijra day and carry out the day settings for next day converting.
In addition, above-mentioned embodiment obtains latitude longitude data in the processing of step S104, in the processing of step S105, calculate the sunset moment and monthly age, then by step S106, carry out Hijra and gone through output processing, but go through in output processing at Hijra, conversion Hijra day is that date beyond 1,2,29,30 day is owing to not using latitude longitude data and monthly age constantly, so the processing of conversion Hijra day omitting step S104, S105 that also can the corresponding processing based on step S103.
In addition, above-mentioned embodiment by selecting city from be set in advance in the city of city list, according to the value of the representational latitude longitude in this city, carry out various calculating thus, but by can directly setting the value of latitude longitude, can distinguish more accurately the moment substituting in the month in desirable place.In addition, by comprising height (height above sea level) information, can further improve the precision of distinguishing substituting in the month on highland.
In addition, above-mentioned embodiment be take electronic clock 1 and is illustrated as example, but so long as can show that the electronic equipment that Hijra is gone through is not limited to electronic clock.Can be special-purpose device displaying calendar date, can be also to have combined the week devices such as device for informing of reporting function constantly.
In addition, the concrete structure shown in above-mentioned embodiment, numerical value and control the details such as sequence number and can suitably change in the scope that does not depart from aim of the present invention.
Some embodiments of the present invention are illustrated, but scope of the present invention is not limited to above-mentioned embodiment, and comprises invention scope that claims record and the scope impartial with it.
Claims (12)
1. a calendar display apparatus, is characterized in that, has:
Timing unit, it is for counting the date of the Gregorian calendar;
Calendar scaling unit, it uses predetermined conversion table, is scaled the date that Hijra is gone through from the date of the above-mentioned Gregorian calendar;
Unit is calculated in moon position, and it is for calculating the sunset moment and this sunset moon position constantly of desired location;
The beginning of the month identifying unit, it is according to being calculated the date that the moon position of calculating unit judges that the Hijra calendar month of above-mentioned desired location substitute by this moon position;
Day settings unit, its according to Hijra calendar date of being conversed by above-mentioned calendar scaling unit and above-mentioned beginning of the month identifying unit result of determination set the object output date that Hijra is gone through; And
Display unit, it showed the object output date of being set by this day settings unit.
2. calendar display apparatus according to claim 1, is characterized in that,
This calendar display apparatus has: date storage unit, and it is stored the Hijra of being set by above-mentioned day settings unit calendar date,
Above-mentioned day settings unit is when by the object output date, renewal is set as the date on next day, by above-mentioned beginning of the month identifying unit be judged to be not day at the beginning of the month in the situation that on this next day, be set as to the earning in a day that is stored in the date of above-mentioned date storage unit add 1 and date.
3. calendar display apparatus according to claim 1 and 2, is characterized in that,
This calendar display apparatus has: storage unit is set in dislocation, and it is to having dislocation-free to store between the date being conversed by above-mentioned calendar scaling unit and date of being set by above-mentioned day settings unit,
Above-mentioned day settings unit is when by the object output date, renewal is set as the date on next day, in the situation that by above-mentioned beginning of the month identifying unit be judged to be this next day be not day at the beginning of the month and by above-mentioned dislocation set cell stores date of the previous day there is no dislocation, the date that directly setting is conversed by above-mentioned calendar scaling unit.
4. calendar display apparatus according to claim 1, is characterized in that,
This calendar display apparatus has:
Desired location list storage unit, the latitude longitude data on its ground of candidate by desired location and this candidate ground is mutually mapped and repeatedly stores; And
Operating unit, it is accepted from outside input operation,
The sunset moment and this sunset moon position constantly that the desired location of being selected from be stored in the above-mentioned candidate ground of above-mentioned desired location list storage unit by aforesaid operations unit is calculated in unit calculated in above-mentioned moon position.
5. calendar display apparatus according to claim 2, is characterized in that,
This calendar display apparatus has:
Desired location list storage unit, the latitude longitude data on its ground of candidate by desired location and this candidate ground is mutually mapped and repeatedly stores; And
Operating unit, it is accepted from outside input operation,
The sunset moment and this sunset moon position constantly that the desired location of being selected from be stored in the above-mentioned candidate ground of above-mentioned desired location list storage unit by aforesaid operations unit is calculated in unit calculated in above-mentioned moon position.
6. calendar display apparatus according to claim 3, is characterized in that,
This calendar display apparatus has:
Desired location list storage unit, the latitude longitude data on its ground of candidate by desired location and this candidate ground is mutually mapped and repeatedly stores; And
Operating unit, it is accepted from outside input operation,
The sunset moment and this sunset moon position constantly that the desired location of being selected from be stored in the above-mentioned candidate ground of above-mentioned desired location list storage unit by aforesaid operations unit is calculated in unit calculated in above-mentioned moon position.
7. calendar display apparatus according to claim 1, is characterized in that,
The sunset moment and this sunset moon position constantly that object output day on date is calculated in unit calculated in above-mentioned moon position.
8. calendar display apparatus according to claim 2, is characterized in that,
The sunset moment and this sunset moon position constantly that object output day on date is calculated in unit calculated in above-mentioned moon position.
9. calendar display apparatus according to claim 3, is characterized in that,
The sunset moment and this sunset moon position constantly that object output day on date is calculated in unit calculated in above-mentioned moon position.
10. calendar display apparatus according to claim 4, is characterized in that,
The sunset moment and this sunset moon position constantly that object output day on date is calculated in unit calculated in above-mentioned moon position.
11. calendar display apparatus according to claim 5, is characterized in that,
The sunset moment and this sunset moon position constantly that object output day on date is calculated in unit calculated in above-mentioned moon position.
12. calendar display apparatus according to claim 6, is characterized in that,
The sunset moment and this sunset moon position constantly that object output day on date is calculated in unit calculated in above-mentioned moon position.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012142740A JP5494740B2 (en) | 2012-06-26 | 2012-06-26 | Calendar display device |
JP2012-142740 | 2012-06-26 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103514800A true CN103514800A (en) | 2014-01-15 |
CN103514800B CN103514800B (en) | 2016-01-20 |
Family
ID=49897458
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310259760.XA Active CN103514800B (en) | 2012-06-26 | 2013-06-26 | Calendar display apparatus |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP5494740B2 (en) |
CN (1) | CN103514800B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107561903A (en) * | 2016-06-30 | 2018-01-09 | 卡西欧计算机株式会社 | Information display device, method for information display and recording medium |
CN110225414A (en) * | 2019-07-04 | 2019-09-10 | 深圳市康冠技术有限公司 | Television set and its time display method, time display apparatus and readable storage medium storing program for executing |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1039907A (en) * | 1988-05-25 | 1990-02-21 | 精工电子工业株式会社 | Lunar calendar arithmetic unit |
US20020136093A1 (en) * | 2001-03-22 | 2002-09-26 | International Business Machines Corporation | Method of calculating religious Hijri calendar |
WO2007129933A1 (en) * | 2006-05-06 | 2007-11-15 | Konstantin Yuryevich Chaykin | Muslim calendar (variants) and method for determining date thereof |
CN201622764U (en) * | 2009-12-23 | 2010-11-03 | 周德峰 | Multifunctional electronic permanent calendar |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3674957B2 (en) * | 1994-02-28 | 2005-07-27 | カシオ計算機株式会社 | Calendar display device |
JP3506540B2 (en) * | 1995-07-03 | 2004-03-15 | シチズン時計株式会社 | Multiple indication system and digital display electronic timepiece with multiple indication system |
NL1001683C2 (en) * | 1995-11-17 | 1997-05-21 | Ballad Investment N V | Device, method and system for determining a time and / or direction for prayer. |
JP3069983U (en) * | 1999-12-27 | 2000-07-04 | 株式会社アドバンテスト | Reference time / reference frequency generator |
JP4322786B2 (en) * | 2004-11-29 | 2009-09-02 | Okiセミコンダクタ株式会社 | Multiple standard radio wave decoding method and standard radio wave receiver |
JP5353117B2 (en) * | 2008-08-25 | 2013-11-27 | セイコーエプソン株式会社 | Standard radio wave receiving device, radio wave correction watch and standard radio wave receiving method |
-
2012
- 2012-06-26 JP JP2012142740A patent/JP5494740B2/en active Active
-
2013
- 2013-06-26 CN CN201310259760.XA patent/CN103514800B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1039907A (en) * | 1988-05-25 | 1990-02-21 | 精工电子工业株式会社 | Lunar calendar arithmetic unit |
US20020136093A1 (en) * | 2001-03-22 | 2002-09-26 | International Business Machines Corporation | Method of calculating religious Hijri calendar |
WO2007129933A1 (en) * | 2006-05-06 | 2007-11-15 | Konstantin Yuryevich Chaykin | Muslim calendar (variants) and method for determining date thereof |
CN201622764U (en) * | 2009-12-23 | 2010-11-03 | 周德峰 | Multifunctional electronic permanent calendar |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107561903A (en) * | 2016-06-30 | 2018-01-09 | 卡西欧计算机株式会社 | Information display device, method for information display and recording medium |
US10821809B2 (en) | 2016-06-30 | 2020-11-03 | Casio Computer Co., Ltd. | Information display device, information display method, and storage medium |
CN110225414A (en) * | 2019-07-04 | 2019-09-10 | 深圳市康冠技术有限公司 | Television set and its time display method, time display apparatus and readable storage medium storing program for executing |
Also Published As
Publication number | Publication date |
---|---|
JP2014006174A (en) | 2014-01-16 |
JP5494740B2 (en) | 2014-05-21 |
CN103514800B (en) | 2016-01-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5446611B2 (en) | Day specific day pre- and post-determination device, day specific day pre- and post-determination program, day specific day pre- and post-determination method, daylight saving time determination device | |
CN102023564B (en) | Electronic timepiece and time adjustment method for an electronic timepiece | |
US10120345B2 (en) | Electronic timepiece, electronic device, update information transmission device, and update information transmission program | |
JP6733340B2 (en) | Electronic clock and setting display method | |
JP6778778B2 (en) | Satellite radio clock | |
JP2010210276A (en) | Electronic device, time difference data acquisition method, and data structure of time difference data | |
CN106292251A (en) | Electronic watch | |
CN103514800A (en) | Calendar display device | |
JP6891913B2 (en) | Electronic display device and display control method | |
CN103733146B (en) | Radio-wave wristwatch | |
US20160018789A1 (en) | Electronic timepiece | |
CN106200370B (en) | Electronic watch and electronic equipment | |
JP2014215147A (en) | Electronic device | |
JP2010256160A (en) | Electronic timepiece and portable electronic device | |
JP7095170B2 (en) | Electronic clock | |
CN108628158A (en) | Communication device, electronic watch, communication means and recording medium | |
EP3282326A1 (en) | Quick multifunctional smart watch for worship timing and orientation and control method | |
JP7004034B2 (en) | Electronic clock | |
US11703812B2 (en) | Timepiece, control method for change of time, and storage medium | |
US20150078141A1 (en) | Method and system for a hijri calendar | |
JPS6254356A (en) | Electronic tidal meter | |
JPH02311785A (en) | Display device | |
JP5834633B2 (en) | Tide display device | |
CN117608179A (en) | Magnetic induction clock control method, apparatus and readable storage medium | |
JP2007064685A (en) | Used amount management system, meter, management terminal, and date and time correction method of meter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |