Changeset: 0935cabb2910 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0935cabb2910
Modified Files:
        clients/Tests/MAL-signatures.stable.out
        clients/Tests/MAL-signatures.stable.out.int128
        clients/Tests/exports.stable.out
Branch: default
Log Message:

Approve after changeset 1523b559564f.


diffs (76 lines):

diff --git a/clients/Tests/MAL-signatures.stable.out 
b/clients/Tests/MAL-signatures.stable.out
--- a/clients/Tests/MAL-signatures.stable.out
+++ b/clients/Tests/MAL-signatures.stable.out
@@ -6073,6 +6073,7 @@ Ready.
 [ "batmtime",  "milliseconds", "command 
batmtime.milliseconds(d:bat[:daytime]):bat[:int] ",    
"MTIMEdaytime_extract_milliseconds_bulk;",      ""      ]
 [ "batmtime",  "minutes",      "command 
batmtime.minutes(d:bat[:daytime]):bat[:int] ", 
"MTIMEdaytime_extract_minutes_bulk;",   ""      ]
 [ "batmtime",  "month",        "command batmtime.month(d:bat[:date]):bat[:int] 
",      "MTIMEdate_extract_month_bulk;",        ""      ]
+[ "batmtime",  "quarter",      "command 
batmtime.quarter(d:bat[:date]):bat[:int] ",    
"MTIMEdate_extract_quarter_bulk;",      ""      ]
 [ "batmtime",  "seconds",      "command 
batmtime.seconds(d:bat[:daytime]):bat[:int] ", 
"MTIMEdaytime_extract_seconds_bulk;",   ""      ]
 [ "batmtime",  "sql_seconds",  "command 
batmtime.sql_seconds(d:bat[:daytime]):bat[:int] ",     
"MTIMEdaytime_extract_sql_seconds_bulk;",       ""      ]
 [ "batmtime",  "year", "command batmtime.year(d:bat[:date]):bat[:int] ",       
"MTIMEdate_extract_year_bulk;", ""      ]
@@ -8073,6 +8074,8 @@ Ready.
 [ "mtime",     "msec", "unsafe command mtime.msec():lng ",     "MTIMEmsec;",   
"get time of day in msec since 1-1-1970."       ]
 [ "mtime",     "msecs",        "command mtime.msecs(d:int, h:int, m:int, 
s:int, ms:int):lng ", "MTIMEmsecs;",  "convert date components to milliseconds" 
      ]
 [ "mtime",     "prelude",      "command mtime.prelude():void ",        
"MTIMEprelude;",        ""      ]
+[ "mtime",     "quarter",      "command mtime.quarter(d:date):int ",   
"MTIMEdate_extract_quarter;",   "extracts quarter from date"    ]
+[ "mtime",     "quarter",      "command mtime.quarter(t:timestamp):int ",      
"MTIMEtimestamp_quarter;",      ""      ]
 [ "mtime",     "rule", "command mtime.rule(mo:int, d:int, wkday:int, 
mi:int):zrule ",  "MTIMErule_create;",    "create a DST start/end date rule."   
  ]
 [ "mtime",     "rule", "command mtime.rule(s:str):zrule ",     
"MTIMErule_fromstr;",   "create a rule from a  string." ]
 [ "mtime",     "seconds",      "command mtime.seconds(d:daytime):int ",        
"MTIMEdaytime_extract_seconds;",        "extracts seconds from daytime" ]
@@ -8106,6 +8109,7 @@ Ready.
 [ "mtime",     "timezone",     "command mtime.timezone(s:str):timezone ",      
"MTIMEtzone_fromstr;",  "Convert the string to a timezone."     ]
 [ "mtime",     "timezone_local",       "command 
mtime.timezone_local():timezone ",     "MTIMEtzone_get_local;",        "get the 
local timezone; which is used for printing timestamps" ]
 [ "mtime",     "timezone_local",       "command 
mtime.timezone_local(t:timezone):void ",       "MTIMEtzone_set_local;",        
"set the local timezone; which is used for printing timestamps" ]
+[ "mtime",     "week", "command mtime.week(d:date):int ",      
"MTIMEdate_extract_weekofyear;",        "Returns the week number in the year."  
]
 [ "mtime",     "weekday",      "command mtime.weekday(t:zrule):int ",  
"MTIMErule_extract_weekday;",   "extract weekday from rule."    ]
 [ "mtime",     "weekofyear",   "command mtime.weekofyear(d:date):int ",        
"MTIMEdate_extract_weekofyear;",        "Returns the week number in the year."  
]
 [ "mtime",     "year", "command mtime.year(d:date):int ",      
"MTIMEdate_extract_year;",      "extracts year from date (nonzero\n\tvalue 
between -5867411 and +5867411)."     ]
diff --git a/clients/Tests/MAL-signatures.stable.out.int128 
b/clients/Tests/MAL-signatures.stable.out.int128
--- a/clients/Tests/MAL-signatures.stable.out.int128
+++ b/clients/Tests/MAL-signatures.stable.out.int128
@@ -8039,6 +8039,7 @@ Ready.
 [ "batmtime",  "milliseconds", "command 
batmtime.milliseconds(d:bat[:daytime]):bat[:int] ",    
"MTIMEdaytime_extract_milliseconds_bulk;",      ""      ]
 [ "batmtime",  "minutes",      "command 
batmtime.minutes(d:bat[:daytime]):bat[:int] ", 
"MTIMEdaytime_extract_minutes_bulk;",   ""      ]
 [ "batmtime",  "month",        "command batmtime.month(d:bat[:date]):bat[:int] 
",      "MTIMEdate_extract_month_bulk;",        ""      ]
+[ "batmtime",  "quarter",      "command 
batmtime.quarter(d:bat[:date]):bat[:int] ",    
"MTIMEdate_extract_quarter_bulk;",      ""      ]
 [ "batmtime",  "seconds",      "command 
batmtime.seconds(d:bat[:daytime]):bat[:int] ", 
"MTIMEdaytime_extract_seconds_bulk;",   ""      ]
 [ "batmtime",  "sql_seconds",  "command 
batmtime.sql_seconds(d:bat[:daytime]):bat[:int] ",     
"MTIMEdaytime_extract_sql_seconds_bulk;",       ""      ]
 [ "batmtime",  "year", "command batmtime.year(d:bat[:date]):bat[:int] ",       
"MTIMEdate_extract_year_bulk;", ""      ]
@@ -10435,6 +10436,8 @@ Ready.
 [ "mtime",     "msec", "unsafe command mtime.msec():lng ",     "MTIMEmsec;",   
"get time of day in msec since 1-1-1970."       ]
 [ "mtime",     "msecs",        "command mtime.msecs(d:int, h:int, m:int, 
s:int, ms:int):lng ", "MTIMEmsecs;",  "convert date components to milliseconds" 
      ]
 [ "mtime",     "prelude",      "command mtime.prelude():void ",        
"MTIMEprelude;",        ""      ]
+[ "mtime",     "quarter",      "command mtime.quarter(d:date):int ",   
"MTIMEdate_extract_quarter;",   "extracts quarter from date"    ]
+[ "mtime",     "quarter",      "command mtime.quarter(t:timestamp):int ",      
"MTIMEtimestamp_quarter;",      ""      ]
 [ "mtime",     "rule", "command mtime.rule(mo:int, d:int, wkday:int, 
mi:int):zrule ",  "MTIMErule_create;",    "create a DST start/end date rule."   
  ]
 [ "mtime",     "rule", "command mtime.rule(s:str):zrule ",     
"MTIMErule_fromstr;",   "create a rule from a  string." ]
 [ "mtime",     "seconds",      "command mtime.seconds(d:daytime):int ",        
"MTIMEdaytime_extract_seconds;",        "extracts seconds from daytime" ]
@@ -10468,6 +10471,7 @@ Ready.
 [ "mtime",     "timezone",     "command mtime.timezone(s:str):timezone ",      
"MTIMEtzone_fromstr;",  "Convert the string to a timezone."     ]
 [ "mtime",     "timezone_local",       "command 
mtime.timezone_local():timezone ",     "MTIMEtzone_get_local;",        "get the 
local timezone; which is used for printing timestamps" ]
 [ "mtime",     "timezone_local",       "command 
mtime.timezone_local(t:timezone):void ",       "MTIMEtzone_set_local;",        
"set the local timezone; which is used for printing timestamps" ]
+[ "mtime",     "week", "command mtime.week(d:date):int ",      
"MTIMEdate_extract_weekofyear;",        "Returns the week number in the year."  
]
 [ "mtime",     "weekday",      "command mtime.weekday(t:zrule):int ",  
"MTIMErule_extract_weekday;",   "extract weekday from rule."    ]
 [ "mtime",     "weekofyear",   "command mtime.weekofyear(d:date):int ",        
"MTIMEdate_extract_weekofyear;",        "Returns the week number in the year."  
]
 [ "mtime",     "year", "command mtime.year(d:date):int ",      
"MTIMEdate_extract_year;",      "extracts year from date (nonzero\n\tvalue 
between -5867411 and +5867411)."     ]
diff --git a/clients/Tests/exports.stable.out b/clients/Tests/exports.stable.out
--- a/clients/Tests/exports.stable.out
+++ b/clients/Tests/exports.stable.out
@@ -1415,6 +1415,8 @@ str MTIMEdate_extract_dayofweek(int *ret
 str MTIMEdate_extract_dayofyear(int *ret, const date *v);
 str MTIMEdate_extract_month(int *ret, const date *v);
 str MTIMEdate_extract_month_bulk(bat *ret, const bat *bid);
+str MTIMEdate_extract_quarter(int *ret, const date *v);
+str MTIMEdate_extract_quarter_bulk(bat *ret, const bat *bid);
 str MTIMEdate_extract_weekofyear(int *ret, const date *v);
 str MTIMEdate_extract_year(int *ret, const date *v);
 str MTIMEdate_extract_year_bulk(bat *ret, const bat *bid);
@@ -1505,6 +1507,7 @@ str MTIMEtimestamp_lng_bulk(bat *ret, ba
 str MTIMEtimestamp_milliseconds(int *ret, const timestamp *t);
 str MTIMEtimestamp_minutes(int *ret, const timestamp *t);
 str MTIMEtimestamp_month(int *ret, const timestamp *t);
+str MTIMEtimestamp_quarter(int *ret, const timestamp *t);
 str MTIMEtimestamp_seconds(int *ret, const timestamp *t);
 str MTIMEtimestamp_sql_seconds(int *ret, const timestamp *t);
 str MTIMEtimestamp_sub_month_interval_lng_wrap(timestamp *ret, const timestamp 
*t, const lng *months);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to