1994
DOI: 10.1002/spe.4380240106
|View full text |Cite
|
Sign up to set email alerts
|

Efficient timestamp input and output

Abstract: In this paper we provide efficient algorithms for converting between timestamp values that signify some number of seconds from an arbitrary origin, and character strings specifying Gregorian dates, such as 'January 1, 1993'. We give several algorithms that explore a range of time and space trade-offs. Unlike previous algorithms, those discussed here have a constant time cost over a greatly extended range of timestamp values. These algorithms are especially useful in operating systems and in database management… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1

Citation Types

0
3
0

Year Published

2000
2000
2000
2000

Publication Types

Select...
2
1

Relationship

0
3

Authors

Journals

citations
Cited by 3 publications
(3 citation statements)
references
References 3 publications
(1 reference statement)
0
3
0
Order By: Relevance
“…The calendar provides functions for all irregular mappings. Although the seconds_to_minutes(t) function is simple (we describe elsewhere how to process Gregorian calendar dates with leap seconds [10]), some irregular mappings may be quite complex. The days_to_months(t) mapping must accommodate months that have different numbers of days, as well as leap years.…”
Section: Building the Granularity Graphmentioning
confidence: 99%
See 1 more Smart Citation
“…The calendar provides functions for all irregular mappings. Although the seconds_to_minutes(t) function is simple (we describe elsewhere how to process Gregorian calendar dates with leap seconds [10]), some irregular mappings may be quite complex. The days_to_months(t) mapping must accommodate months that have different numbers of days, as well as leap years.…”
Section: Building the Granularity Graphmentioning
confidence: 99%
“…Lorentzos allows only coarser conversions in a granularity ªchain.º These conversions consist of removing various fields, e.g., scaling from months to years removes the months field. Although the granularity conversion operation (between fields that are in the nonmetric data type) is fast, we previously empirically determined that the execution cost of other more common temporal operations severely increases, as does the space cost [10]. Hence, we advocate that timestamp formats have as few separate internal fields as possible.…”
Section: Related Workmentioning
confidence: 99%
“…-- ;---:::: Although the seconds_to_minutes function is simple (we describe elsewhere how to process Gregorian calendar dates with leap seconds [Dyreson & Snodgrass 1994E]), some irregular mappings may be quite complex. The days_to_months mapping must accommodate months that have different numbers of days, as well as leap years.…”
Section: Building the Latticementioning
confidence: 99%