Server IP : 111.118.215.189 / Your IP : 18.116.170.100 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/calendar/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:08:30 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/calendar/time-date.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@649 Decode a time value and bind it according to VARLIST, then eval BODY. The value of the last form in BODY is returned. Each element of the list VARLIST is a list of the form (HIGH-SYMBOL LOW-SYMBOL MICRO-SYMBOL [PICO-SYMBOL [TYPE-SYMBOL]] TIME-VALUE). The time value TIME-VALUE is decoded and the result it bound to the symbols HIGH-SYMBOL, LOW-SYMBOL and MICRO-SYMBOL. The optional PICO-SYMBOL is bound to the picoseconds part. The optional TYPE-SYMBOL is bound to the type of the time value. Type 0 is the cons cell (HIGH . LOW), type 1 is the list (HIGH LOW), type 2 is the list (HIGH LOW MICRO), and type 3 is the list (HIGH LOW MICRO PICO). (defalias 'with-decoded-time-value '(macro . #[(varlist &rest body) "\203\357 \211A@\211\211A@ \211A@ \211A@ G\306X?\205) \211A@ G\307=?\2057 \211A@ @ \310\311!!\312\313! D\n\314!DD\fF \205X C\205` C#\315\316!D\317\320\314!DE\315!\317\320\f\321!DE \203\250 \315\322!D\313\320 \323!DE\205\223 \324B\"\313\320 \325BB\205\243 \326B\"F\202\256 \205\256 \327E\313\320\f\330BB \205\274 \331B\205\305 \332B#FE\313\320!\f\333BBBB \205\332 \334B\205\343 \335B#F\336\"BBF.\207\317\"B\207" [varlist elt high low micro pico 2 1 make-symbol "time" let* append pop if consp progn setq car cdr cadr (3) (0) (2) (setq type 2) (0) (0) (1) (0) (0) (0) with-decoded-time-value type time-value gensym body] 18 (#$ . 562)])) (byte-code "\300\301\302\303#\210\300\301\304\305#\207" [put with-decoded-time-value lisp-indent-function 1 edebug-form-spec ((&rest (symbolp symbolp symbolp &or [symbolp form] form)) body)] 4) #@331 Encode HIGH, LOW, MICRO, and PICO into a time value of type TYPE. Type 0 is the cons cell (HIGH . LOW), type 1 is the list (HIGH LOW), type 2 is (HIGH LOW MICRO), and type 3 is (HIGH LOW MICRO PICO). For backward compatibility, if only four arguments are given, it is assumed that PICO was omitted and should be treated as zero. (defalias 'encode-time-value #[(high low micro pico &optional type) "\305=\203\n \nB\207\306=\203 \nD\207\307=\203 \nE\207\310=\203+ \n\fF\207?\2057 \311 \n\305\f%\207" [type high low micro pico 0 1 2 3 encode-time-value] 6 (#$ . 2176)]) (byte-code "\300\301\302\"\210\300\303\304\"\207" [autoload parse-time-string "parse-time" timezone-make-date-arpa-standard "timezone"] 3) #@126 Parse a string DATE that represents a date-time and return a time value. If DATE lacks timezone information, GMT is assumed. (defalias 'date-to-time #[(date) "\300\301\302\217\207" [nil (byte-code "\301\302\303!\"\207" [date apply encode-time parse-time-string] 4) ((error (byte-code "\300\301\302\217\207" [nil (byte-code "\301\302\303\304!!\"\207" [date apply encode-time parse-time-string timezone-make-date-arpa-standard] 5) ((error (error "Invalid date: %s" date)))] 3)))] 3 (#$ . 2904)]) #@60 Convert SECONDS (a floating point number) to a time value. (defalias 'seconds-to-time #[(seconds) "\306\307\"\310_\311\306 \307\"\310_!\312 !\312\306\313\"!\312\313\"\n\310=\203A \314T\211\310=\203A \314\fT\211\313=\203A \314 T \f\nF-\207" [seconds usec ps us lo hi mod 1 1000000 round floor 65536 0] 5 (#$ . 3406)]) #@64 Return non-nil if time value T1 is earlier than time value T2. (defalias 'time-less-p #[(t1 t2) "\211\211A@\306\211\306\211 :\203H \211A@ \203>