Coder Social home page Coder Social logo

genlunarbirthday's Introduction

GenLunarBirthday

Generate birthday dates base on lunar birthdays for google calendar import Can be used for notifying birthdays using google calendar

根据农历生日生成可用于谷歌日历导入的csv文件, 然后导入谷歌日历就可以每年收到所有家人的生日提醒了

Generate birthdays up to 2100

生成至2100年的生日

用法(Windows):

  1. 编辑days.txt文件如下: (-4 代表闰四月)
  2.   父亲生日: 1959.01.01
      母亲生日: 1963.-4.01
  3. 将days.txt拖到genlunarbirthday.exe上
  4. 或者在命令行输入genlunarbirthday.exe days.txt
  5. 应该会有一个import.csv生成
  6. 可以选择编辑这个文件, 但是要用文本编辑器打开
  7. 在谷歌日历里导入并设置提醒
  8. 每年收到邮件/短信/等等生日提醒

用法2:

  1. 打开 http://play.golang.org/p/pjHLGH_HjP
  2. 修改const example的内容
  3. 点击Run
  4. 复制粘贴结果到Excel或文本编辑器
  5. Usage:
        genlunarbirthday.exe birthdays.txt
    Then a import.csv will be created
    Example birthday.txt:
    "father's birthday": 1959.01.01
    "mother's birthday": 1963.-4.01
    

    Subject, Start Date, Start Time, End Date, End Time, Private, All Day Event, Location "father's birthday", 1959-2-8, 8:00 AM, 1959-2-8, , FALSE, TRUE, HOME "father's birthday", 1960-1-28, 8:00 AM, 1960-1-28, , FALSE, TRUE, HOME "father's birthday", 1961-2-15, 8:00 AM, 1961-2-15, , FALSE, TRUE, HOME ... "father's birthday", 2095-2-5, 8:00 AM, 2095-2-5, , FALSE, TRUE, HOME "father's birthday", 2096-1-25, 8:00 AM, 2096-1-25, , FALSE, TRUE, HOME "father's birthday", 2097-2-12, 8:00 AM, 2097-2-12, , FALSE, TRUE, HOME "father's birthday", 2098-2-1, 8:00 AM, 2098-2-1, , FALSE, TRUE, HOME "father's birthday", 2099-1-21, 8:00 AM, 2099-1-21, , FALSE, TRUE, HOME "father's birthday", 2100-2-9, 8:00 AM, 2100-2-9, , FALSE, TRUE, HOME ... "mother's birthday", 1963-5-23, 8:00 AM, 1963-5-23, , FALSE, TRUE, HOME "mother's birthday", 1974-5-22, 8:00 AM, 1974-5-22, , FALSE, TRUE, HOME ... "mother's birthday", 2088-5-21, 8:00 AM, 2088-5-21, , FALSE, TRUE, HOME "mother's birthday", 2096-5-22, 8:00 AM, 2096-5-22, , FALSE, TRUE, HOME

genlunarbirthday's People

Contributors

maut avatar jackielii avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.