mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 16:10:05 +08:00
27 lines
716 B
VimL
27 lines
716 B
VimL
|
" =============================================================================
|
||
|
" Filename: autoload/calendar/day/italy.vim
|
||
|
" Author: itchyny
|
||
|
" License: MIT License
|
||
|
" Last Change: 2015/03/29 06:28:59.
|
||
|
" =============================================================================
|
||
|
|
||
|
let s:save_cpo = &cpo
|
||
|
set cpo&vim
|
||
|
|
||
|
let s:constructor = calendar#constructor#day_hybrid#new(1582, 10, 15)
|
||
|
|
||
|
function! calendar#day#italy#new(y, m, d) abort
|
||
|
return s:constructor.new(a:y, a:m, a:d)
|
||
|
endfunction
|
||
|
|
||
|
function! calendar#day#italy#new_mjd(mjd) abort
|
||
|
return s:constructor.new_mjd(a:mjd)
|
||
|
endfunction
|
||
|
|
||
|
function! calendar#day#italy#today() abort
|
||
|
return s:constructor.today()
|
||
|
endfunction
|
||
|
|
||
|
let &cpo = s:save_cpo
|
||
|
unlet s:save_cpo
|