Všechno Nové

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Přihlásit se


Všechno Nové Přihlásit se

All gists matching topic hr-tool

Nedávno Vytvořeno
Nejméně nedávno Vytvořeno
Nedávno Aktualizováno
Nejméně nedávno Aktualizováno

timmy / 特休計算器 (Annual Leave Calculator)

0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 10 months ago
此 Python 類別可根據《勞動基準法》第 38 條規定,計算勞工應享有的特休天數,適用於 HR、人資系統或勞工自行查詢特休日數,確保符合法規標準。
Taiwan annual-leave hr-tool labor-law python
1 class AnnualLeaveCalculator:
2 def __init__(self, employment_date, current_date):
3 """
4 初始化特休計算器
5 :param employment_date: 入職日期,格式為 'YYYY-MM-DD'
6 :param current_date: 目前日期,格式為 'YYYY-MM-DD'
7 """
8 self.employment_date = employment_date
9 self.current_date = current_date
Novější Starší

Vytvořeno pomocí Opengist ⋅ Load: 30ms⋅

Čeština
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文