Tag

calendar

1 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 2, 2024 · Frontend Development

Implementing a Custom Calendar Component with Konva.js

This article explains how to build a canvas‑based calendar widget using Konva, covering the design of date cells, task‑range rendering, drag‑and‑drop interaction, event handling, and the public API, and provides the full source code for reference.

JavaScriptKonvaUI Component
0 likes · 18 min read
Implementing a Custom Calendar Component with Konva.js
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 31, 2024 · Frontend Development

Implementing a Custom Vue Calendar Component with Date Generation and Styling

This article explains how to create a reusable Vue calendar component by designing its data structure, generating a 7×6 date matrix, implementing navigation props and events, and applying customizable styles, providing complete code examples for template, script, and scoped CSS.

Date GenerationTypeScriptVue
0 likes · 16 min read
Implementing a Custom Vue Calendar Component with Date Generation and Styling
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 5, 2024 · Frontend Development

Building a Work Calendar Component with Date APIs and Box Selection in React

This article walks through creating a customizable work‑calendar component in React, covering lunar‑type date APIs, essential Date methods, data structures, algorithms for generating month and year weeks, and implementing a draggable box‑selection feature for batch date type editing.

Box SelectionDate APIReact
0 likes · 18 min read
Building a Work Calendar Component with Date APIs and Box Selection in React
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 28, 2024 · Frontend Development

Implementing a Xiaomi‑Style Calendar Component with React, TypeScript, TailwindCSS and Lunar Library

This article details how the author recreated Xiaomi's calendar using React functional components, TypeScript typings, TailwindCSS styling, and the lunar‑typescript library, covering the tech stack, core date calculations, view rendering, touch‑based scrolling, and view mode switching with complete source code examples.

LunarReactTailwindCSS
0 likes · 29 min read
Implementing a Xiaomi‑Style Calendar Component with React, TypeScript, TailwindCSS and Lunar Library
php中文网 Courses
php中文网 Courses
Mar 25, 2023 · Backend Development

PHP Calendar Class Tutorial with Full Implementation

This tutorial explains how to build a reusable PHP Calendar class that handles year, month, navigation and renders an HTML table, and shows a simple front‑end script that loads the class and displays the calendar, complete with CSS styling and example output.

Date HandlingPHPTutorial
0 likes · 10 min read
PHP Calendar Class Tutorial with Full Implementation
JD Retail Technology
JD Retail Technology
May 24, 2022 · Frontend Development

Design and Implementation of the NutUI Calendar Component with Vertical Switching

This article explains the design choices, data processing, virtual‑list optimization, scroll handling, and extensible slot/prop architecture used to build a high‑performance vertical‑switching calendar component in the NutUI front‑end library.

Component DesignDate PickerNutUI
0 likes · 13 min read
Design and Implementation of the NutUI Calendar Component with Vertical Switching
IT Services Circle
IT Services Circle
Mar 24, 2022 · Fundamentals

Comprehensive Guide to Python Time Handling with calendar, time, and datetime Modules

This article provides a detailed tutorial on Python's time‑related classes and functions, covering Unix timestamps, conversion tools, and the practical use of the calendar, time, and datetime modules with examples of formatting, timezone conversion, and common time‑conversion tricks for everyday programming tasks.

DateTimePythoncalendar
0 likes · 18 min read
Comprehensive Guide to Python Time Handling with calendar, time, and datetime Modules
IT Services Circle
IT Services Circle
Mar 16, 2022 · Fundamentals

Six Ways to Get the Weekday of a Specific Date in Python

This tutorial explains six Python techniques—including datetime.weekday(), datetime.isoweekday(), strftime(), calendar, pendulum, and pandas—to retrieve the weekday of any given date such as 2022‑02‑22, with code examples and usage tips for data analysis.

DateTimePythoncalendar
0 likes · 6 min read
Six Ways to Get the Weekday of a Specific Date in Python
Selected Java Interview Questions
Selected Java Interview Questions
Dec 31, 2021 · Backend Development

Understanding the Difference Between yyyy and YYYY in Java Date Formatting

The article explains how using the week‑based year pattern (YYYY) instead of the calendar year pattern (yyyy) in Java's SimpleDateFormat can cause dates like 2019‑12‑31 to be displayed as 2020‑12‑31, illustrating the issue with code examples and a clear explanation of the underlying rules.

Javabackendcalendar
0 likes · 4 min read
Understanding the Difference Between yyyy and YYYY in Java Date Formatting
Top Architect
Top Architect
Dec 31, 2021 · Backend Development

Understanding the Difference Between yyyy and YYYY in Java Date Formatting

The article explains a subtle Java date‑formatting bug where using the week‑based year pattern (YYYY) can incorrectly display the next calendar year for dates at year‑end, demonstrates the issue with sample code, and clarifies why yyyy should be used for ordinary year representation.

Javabackendbug
0 likes · 5 min read
Understanding the Difference Between yyyy and YYYY in Java Date Formatting
Python Programming Learning Circle
Python Programming Learning Circle
Sep 25, 2021 · Fundamentals

Python Tricks: Sets, Calendar, Enumerate, Conditional Logic, Enum, and iPython

This article presents a collection of practical Python tips covering set operations, calendar calculations, the enumerate function with a start index, clean conditional handling using dictionaries and enums, and an introduction to iPython for interactive development, all illustrated with concise code examples.

IPythonProgramming Tipscalendar
0 likes · 11 min read
Python Tricks: Sets, Calendar, Enumerate, Conditional Logic, Enum, and iPython
Laravel Tech Community
Laravel Tech Community
Jul 6, 2021 · Backend Development

PHP cal_days_in_month Function: Returns Number of Days in a Month for a Given Calendar

The article explains PHP's cal_days_in_month function, detailing its purpose, parameters (calendar, month, year), return value, and provides a complete example showing how to retrieve and display the number of days in a specific month of a given year.

DateExamplecalendar
0 likes · 2 min read
PHP cal_days_in_month Function: Returns Number of Days in a Month for a Given Calendar
Sohu Tech Products
Sohu Tech Products
Jun 23, 2021 · Mobile Development

Implementing Weekday Calendar Reminders with Holiday Filtering on iOS

This article demonstrates how to create recurring iOS calendar reminders for Monday‑to‑Friday workdays, filter out Chinese statutory holidays using an external holiday‑cn JSON source, and handle make‑up workdays, providing complete Swift code and step‑by‑step explanations.

EventKitSwiftcalendar
0 likes · 17 min read
Implementing Weekday Calendar Reminders with Holiday Filtering on iOS
Laravel Tech Community
Laravel Tech Community
Jun 21, 2021 · Backend Development

cal_to_jd – Convert Supported Calendar Date to Julian Day Number

The cal_to_jd() function in PHP calculates the Julian Day count from a given date, supporting Gregorian, Julian, Jewish, and French calendars, and returns the corresponding Julian Day number based on the provided calendar, month, day, and year parameters.

Date ConversionJulian DayPHP
0 likes · 2 min read
cal_to_jd – Convert Supported Calendar Date to Julian Day Number
Laravel Tech Community
Laravel Tech Community
Jun 20, 2021 · Backend Development

PHP cal_info Function: Returns Calendar Information

The cal_info() PHP function returns detailed information about a specified calendar—including month names, abbreviations, maximum days, and identifiers—or all supported calendars when no argument is given, with usage examples and output illustrated.

backendcalendardocumentation
0 likes · 3 min read
PHP cal_info Function: Returns Calendar Information
Laravel Tech Community
Laravel Tech Community
Jun 18, 2021 · Backend Development

PHP cal_days_in_month Function: Returns Number of Days in a Month for a Given Calendar

The article explains the PHP cal_days_in_month function, detailing its purpose of returning the number of days in a specific month for a given year and calendar, describing its parameters, return value, and providing a complete code example illustrating its usage.

Datebackendcalendar
0 likes · 2 min read
PHP cal_days_in_month Function: Returns Number of Days in a Month for a Given Calendar
Test Development Learning Exchange
Test Development Learning Exchange
Jul 1, 2019 · Fundamentals

Python Date and Workday Utilities: Calculating Workdays, Weeks, and Date Offsets

This article explains how to use Python's time and datetime modules to calculate workdays between two dates, determine week counts, and retrieve dates offset by a given number of days or months, providing reusable utility scripts with clear code examples.

DateDateTimeWorkday
0 likes · 9 min read
Python Date and Workday Utilities: Calculating Workdays, Weeks, and Date Offsets
Qunar Tech Salon
Qunar Tech Salon
Mar 13, 2016 · Fundamentals

Understanding java.util.Date, Calendar, and SimpleDateFormat in Java

This article explains the legacy java.util.Date class, its limited useful constructors and methods, the more flexible java.util.Calendar API, how to format and parse dates with DateFormat and SimpleDateFormat, and best practices for storing timestamps in databases using long values.

DatabaseDateJava
0 likes · 9 min read
Understanding java.util.Date, Calendar, and SimpleDateFormat in Java