mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 13:50:04 +08:00
28 lines
753 B
VimL
28 lines
753 B
VimL
" =============================================================================
|
|
" Filename: autoload/calendar/day/austria.vim
|
|
" Author: itchyny
|
|
" License: MIT License
|
|
" Last Change: 2015/03/29 06:28:32.
|
|
" =============================================================================
|
|
|
|
let s:save_cpo = &cpo
|
|
set cpo&vim
|
|
|
|
" Brixen, Salzburg and Tyrol
|
|
let s:constructor = calendar#constructor#day_hybrid#new(1583, 10, 16)
|
|
|
|
function! calendar#day#austria#new(y, m, d) abort
|
|
return s:constructor.new(a:y, a:m, a:d)
|
|
endfunction
|
|
|
|
function! calendar#day#austria#new_mjd(mjd) abort
|
|
return s:constructor.new_mjd(a:mjd)
|
|
endfunction
|
|
|
|
function! calendar#day#austria#today() abort
|
|
return s:constructor.today()
|
|
endfunction
|
|
|
|
let &cpo = s:save_cpo
|
|
unlet s:save_cpo
|