22
сен
I tried the new Record type TTimeSpan in Delphi 2010. But I encourage a very strange problem. Assert(TTimeSpan.FromMilliseconds(5000).Milliseconds = 5000); This assertion does not pass. The value of 'TTimeSpan.FromMilliseconds(5000).Milliseconds' is expected to be 5000, but it was 0. I dig deeper: function TTimeSpan.GetMilliseconds: Integer; begin Result:= Integer((FTicks div TicksPerMillisecond) mod 1000); end; FTicks = 50000000 TicksPerMillisecond = 10000 FTick div TicksPerMillisecond = 50000000 div 10000 = 5000 (FTick div TicksPerMillisecond) mod 1000 = 5000 mod 1000 = 0 // I do not understand, why mod 1000 Integer((FTick div TicksPerMillisecond) mod 1000) = Integer(0) = 0 My code interpretation is correct, isn't it?
Is there a generic way to skip field serialization at JSON marshalling in Delphi XE2 DataSnap? TBizObjects = class DataObject: TDataObject; -- skip this field on serializaing descendants end. 2017-04-07 0.6 0.6 2017-03-24 0.6. 2017-03-20 0.6 2017-03-20 0.6.
UPDATE: The method GetTotalMilliseconds (double precision) is implemented correctly. You are confusing the properties giving the total amount expressed in a given unit with the properties giving the portion of a value when you break it up into its components (days, hours, minutes, seconds, milliseconds, ticks). With those, you get the integer remainder for each category. So, Milliseconds will always be between 0 and 999 (Number Of Milliseconds Per Second - 1). Or, another example, if you have 72 minutes, TotalMinutes is 72, but Minutes is 12. It is very much similar to the DecodeDateTime function to break up a TDateTime. And for what you want to achieve, you definitely need to use the TotalMilliseconds property, as TridenT pointed out, but the code for GetMilliseconds is indeed correct in TimeSpan.
Official name Archaeological Site of Delphi Type Cultural Criteria i, ii, iii, iv and vi Designated 1987 (12th ) Reference no. State Party Region Delphi (;: Δελφοί ), formerly also called Pytho (Πυθώ), is famous as the ancient sanctuary that grew rich as the seat of, the who was consulted about important decisions throughout the ancient classical world. Moreover, the Greeks considered Delphi the (or centre) of the world, as represented by the stone monument known as the. It occupies an impressive site on the south-western slope of, overlooking the coastal plain to the south and the valley of. It is now an extensive archaeological site with nearby. It is recognised by as a in having had a phenomenal influence in the ancient world, as evidenced by the rich monuments built there by most of the important ancient Greek city-states, demonstrating their fundamental unity. Delphi among the main Greek sanctuaries Delphi is located in upper central Greece, on multiple plateaux along the slope of, and includes the Sanctuary of (the god of light, knowledge and harmony), the site of the ancient.
This semicircular spur is known as, and overlooks the Pleistos Valley. In myths dating to (510-323 BC), Zeus determined the site of Delphi when he sought to find the centre of his 'Grandmother Earth' (). He sent two eagles flying from the eastern and western extremities, and the path of the eagles crossed over Delphi where the, or navel of Gaia was found. Earlier myths include traditions that, or the Delphic oracle, already was the site of an important oracle in the pre-classical Greek world (as early as 1400 BC) and, rededicated from about 800 BC, when it served as the major site during classical times for the worship of the god. Apollo was said to have slain, a 'drako' a serpent or a dragon who lived there and protected the of the. 'Python' (derived from the verb πύθω ( pythō), 'to ') is claimed by some to be the original name of the site in recognition of Python which Apollo defeated.
Santa lyuchiya noti dlya fortepiano. The recalled that the ancient name of this site had been Krisa. Others relate that it was named Pytho (Πυθώ) and that Pythia, the priestess serving as the oracle, was chosen from their ranks by a group of priestesses who officiated at the temple. Excavation at Delphi, which was a post-Mycenaean settlement of the late 9th century, has uncovered artifacts increasing steadily in volume beginning with the last quarter of the 8th century BC.
Pottery and bronze as well as tripod dedications continue in a steady stream, in contrast to. Neither the range of objects nor the presence of prestigious dedications proves that Delphi was a focus of attention for a wide range of worshippers, but the large quantity of valuable goods, found in no other mainland sanctuary, encourages that view.
's sacred precinct in Delphi was a panhellenic, where every four years, starting in 586 BC athletes from all over the Greek world competed in the, one of the four, precursors of the. The victors at Delphi were presented with a laurel crown ( stephanos) which was ceremonially cut from a tree by a boy who re-enacted the slaying of the Python. (These competitions are also called stephantic games, after the crown.) Delphi was set apart from the other games sites because it hosted the mousikos agon, musical competitions. These Pythian Games rank second among the four stephanitic games chronologically and in importance. These games, though, were different from the games at Olympia in that they were not of such vast importance to the city of Delphi as the games at Olympia were to the area surrounding Olympia.
I tried the new Record type TTimeSpan in Delphi 2010. But I encourage a very strange problem. Assert(TTimeSpan.FromMilliseconds(5000).Milliseconds = 5000); This assertion does not pass. The value of \'TTimeSpan.FromMilliseconds(5000).Milliseconds\' is expected to be 5000, but it was 0. I dig deeper: function TTimeSpan.GetMilliseconds: Integer; begin Result:= Integer((FTicks div TicksPerMillisecond) mod 1000); end; FTicks = 50000000 TicksPerMillisecond = 10000 FTick div TicksPerMillisecond = 50000000 div 10000 = 5000 (FTick div TicksPerMillisecond) mod 1000 = 5000 mod 1000 = 0 // I do not understand, why mod 1000 Integer((FTick div TicksPerMillisecond) mod 1000) = Integer(0) = 0 My code interpretation is correct, isn\'t it?
Is there a generic way to skip field serialization at JSON marshalling in Delphi XE2 DataSnap? TBizObjects = class DataObject: TDataObject; -- skip this field on serializaing descendants end. 2017-04-07 0.6 0.6 2017-03-24 0.6. 2017-03-20 0.6 2017-03-20 0.6.
UPDATE: The method GetTotalMilliseconds (double precision) is implemented correctly. You are confusing the properties giving the total amount expressed in a given unit with the properties giving the portion of a value when you break it up into its components (days, hours, minutes, seconds, milliseconds, ticks). With those, you get the integer remainder for each category. So, Milliseconds will always be between 0 and 999 (Number Of Milliseconds Per Second - 1). Or, another example, if you have 72 minutes, TotalMinutes is 72, but Minutes is 12. It is very much similar to the DecodeDateTime function to break up a TDateTime. And for what you want to achieve, you definitely need to use the TotalMilliseconds property, as TridenT pointed out, but the code for GetMilliseconds is indeed correct in TimeSpan.
Official name Archaeological Site of Delphi Type Cultural Criteria i, ii, iii, iv and vi Designated 1987 (12th ) Reference no. State Party Region Delphi (;: Δελφοί ), formerly also called Pytho (Πυθώ), is famous as the ancient sanctuary that grew rich as the seat of, the who was consulted about important decisions throughout the ancient classical world. Moreover, the Greeks considered Delphi the (or centre) of the world, as represented by the stone monument known as the. It occupies an impressive site on the south-western slope of, overlooking the coastal plain to the south and the valley of. It is now an extensive archaeological site with nearby. It is recognised by as a in having had a phenomenal influence in the ancient world, as evidenced by the rich monuments built there by most of the important ancient Greek city-states, demonstrating their fundamental unity. Delphi among the main Greek sanctuaries Delphi is located in upper central Greece, on multiple plateaux along the slope of, and includes the Sanctuary of (the god of light, knowledge and harmony), the site of the ancient.
This semicircular spur is known as, and overlooks the Pleistos Valley. In myths dating to (510-323 BC), Zeus determined the site of Delphi when he sought to find the centre of his \'Grandmother Earth\' (). He sent two eagles flying from the eastern and western extremities, and the path of the eagles crossed over Delphi where the, or navel of Gaia was found. Earlier myths include traditions that, or the Delphic oracle, already was the site of an important oracle in the pre-classical Greek world (as early as 1400 BC) and, rededicated from about 800 BC, when it served as the major site during classical times for the worship of the god. Apollo was said to have slain, a \'drako\' a serpent or a dragon who lived there and protected the of the. \'Python\' (derived from the verb πύθω ( pythō), \'to \') is claimed by some to be the original name of the site in recognition of Python which Apollo defeated.
Santa lyuchiya noti dlya fortepiano. The recalled that the ancient name of this site had been Krisa. Others relate that it was named Pytho (Πυθώ) and that Pythia, the priestess serving as the oracle, was chosen from their ranks by a group of priestesses who officiated at the temple. Excavation at Delphi, which was a post-Mycenaean settlement of the late 9th century, has uncovered artifacts increasing steadily in volume beginning with the last quarter of the 8th century BC.
Pottery and bronze as well as tripod dedications continue in a steady stream, in contrast to. Neither the range of objects nor the presence of prestigious dedications proves that Delphi was a focus of attention for a wide range of worshippers, but the large quantity of valuable goods, found in no other mainland sanctuary, encourages that view.
\'s sacred precinct in Delphi was a panhellenic, where every four years, starting in 586 BC athletes from all over the Greek world competed in the, one of the four, precursors of the. The victors at Delphi were presented with a laurel crown ( stephanos) which was ceremonially cut from a tree by a boy who re-enacted the slaying of the Python. (These competitions are also called stephantic games, after the crown.) Delphi was set apart from the other games sites because it hosted the mousikos agon, musical competitions. These Pythian Games rank second among the four stephanitic games chronologically and in importance. These games, though, were different from the games at Olympia in that they were not of such vast importance to the city of Delphi as the games at Olympia were to the area surrounding Olympia.
...'>Kto Hochet Statj Millionerom Delphi(22.09.2018)I tried the new Record type TTimeSpan in Delphi 2010. But I encourage a very strange problem. Assert(TTimeSpan.FromMilliseconds(5000).Milliseconds = 5000); This assertion does not pass. The value of \'TTimeSpan.FromMilliseconds(5000).Milliseconds\' is expected to be 5000, but it was 0. I dig deeper: function TTimeSpan.GetMilliseconds: Integer; begin Result:= Integer((FTicks div TicksPerMillisecond) mod 1000); end; FTicks = 50000000 TicksPerMillisecond = 10000 FTick div TicksPerMillisecond = 50000000 div 10000 = 5000 (FTick div TicksPerMillisecond) mod 1000 = 5000 mod 1000 = 0 // I do not understand, why mod 1000 Integer((FTick div TicksPerMillisecond) mod 1000) = Integer(0) = 0 My code interpretation is correct, isn\'t it?
Is there a generic way to skip field serialization at JSON marshalling in Delphi XE2 DataSnap? TBizObjects = class DataObject: TDataObject; -- skip this field on serializaing descendants end. 2017-04-07 0.6 0.6 2017-03-24 0.6. 2017-03-20 0.6 2017-03-20 0.6.
UPDATE: The method GetTotalMilliseconds (double precision) is implemented correctly. You are confusing the properties giving the total amount expressed in a given unit with the properties giving the portion of a value when you break it up into its components (days, hours, minutes, seconds, milliseconds, ticks). With those, you get the integer remainder for each category. So, Milliseconds will always be between 0 and 999 (Number Of Milliseconds Per Second - 1). Or, another example, if you have 72 minutes, TotalMinutes is 72, but Minutes is 12. It is very much similar to the DecodeDateTime function to break up a TDateTime. And for what you want to achieve, you definitely need to use the TotalMilliseconds property, as TridenT pointed out, but the code for GetMilliseconds is indeed correct in TimeSpan.
Official name Archaeological Site of Delphi Type Cultural Criteria i, ii, iii, iv and vi Designated 1987 (12th ) Reference no. State Party Region Delphi (;: Δελφοί ), formerly also called Pytho (Πυθώ), is famous as the ancient sanctuary that grew rich as the seat of, the who was consulted about important decisions throughout the ancient classical world. Moreover, the Greeks considered Delphi the (or centre) of the world, as represented by the stone monument known as the. It occupies an impressive site on the south-western slope of, overlooking the coastal plain to the south and the valley of. It is now an extensive archaeological site with nearby. It is recognised by as a in having had a phenomenal influence in the ancient world, as evidenced by the rich monuments built there by most of the important ancient Greek city-states, demonstrating their fundamental unity. Delphi among the main Greek sanctuaries Delphi is located in upper central Greece, on multiple plateaux along the slope of, and includes the Sanctuary of (the god of light, knowledge and harmony), the site of the ancient.
This semicircular spur is known as, and overlooks the Pleistos Valley. In myths dating to (510-323 BC), Zeus determined the site of Delphi when he sought to find the centre of his \'Grandmother Earth\' (). He sent two eagles flying from the eastern and western extremities, and the path of the eagles crossed over Delphi where the, or navel of Gaia was found. Earlier myths include traditions that, or the Delphic oracle, already was the site of an important oracle in the pre-classical Greek world (as early as 1400 BC) and, rededicated from about 800 BC, when it served as the major site during classical times for the worship of the god. Apollo was said to have slain, a \'drako\' a serpent or a dragon who lived there and protected the of the. \'Python\' (derived from the verb πύθω ( pythō), \'to \') is claimed by some to be the original name of the site in recognition of Python which Apollo defeated.
Santa lyuchiya noti dlya fortepiano. The recalled that the ancient name of this site had been Krisa. Others relate that it was named Pytho (Πυθώ) and that Pythia, the priestess serving as the oracle, was chosen from their ranks by a group of priestesses who officiated at the temple. Excavation at Delphi, which was a post-Mycenaean settlement of the late 9th century, has uncovered artifacts increasing steadily in volume beginning with the last quarter of the 8th century BC.
Pottery and bronze as well as tripod dedications continue in a steady stream, in contrast to. Neither the range of objects nor the presence of prestigious dedications proves that Delphi was a focus of attention for a wide range of worshippers, but the large quantity of valuable goods, found in no other mainland sanctuary, encourages that view.
\'s sacred precinct in Delphi was a panhellenic, where every four years, starting in 586 BC athletes from all over the Greek world competed in the, one of the four, precursors of the. The victors at Delphi were presented with a laurel crown ( stephanos) which was ceremonially cut from a tree by a boy who re-enacted the slaying of the Python. (These competitions are also called stephantic games, after the crown.) Delphi was set apart from the other games sites because it hosted the mousikos agon, musical competitions. These Pythian Games rank second among the four stephanitic games chronologically and in importance. These games, though, were different from the games at Olympia in that they were not of such vast importance to the city of Delphi as the games at Olympia were to the area surrounding Olympia.
...'>Kto Hochet Statj Millionerom Delphi(22.09.2018)