Questions tagged [calendar]

A calendar is a system of reckoning time in which the beginning, length and divisions of a year are defined. The term may refer to a software class or library for the manipulation and display of calendar data, or to a list of events with associated dates and times, managed by a human via an application or operating system user interface.

Calendar in Primefaces:

Calendar is an input component used to select a date featuring display modes, paging, localization, ajax selection and more.

Value of the calendar should be a java.util.Date :

<p:calendar value="#{dateBean.date" />

public class DateBean{
   private date date;
}

Calendar in RichFaces :

The rich:calendar component allows you to select a date using a monthly calendar widget. It is possible to use the component in a popup or inline mode. In popup mode the calendar is initially rendered as an input for date with a button on the right side to trigger the popup.

<rich:calendar id="calendar" value="#{calendarBean.selectedDate}" />
13650 questions
3
votes
1 answer

Combine month name and year in a column pandas python

df Year Month Name Avg 2015 Jan 12 2015 Feb 13.4 2015 Mar 10 ................... 2019 Jan 11 2019 Feb 11 Code df['Month Name-Year']= pd.to_datetime(df['Month…
noob
  • 3,601
  • 6
  • 27
  • 73
3
votes
3 answers

I want import android.provider.Calendar;

i want import import android.provider.Calendar; how can i import this class in my application
kannappan
  • 2,250
  • 3
  • 25
  • 35
3
votes
4 answers

Repeating monthly and yearly events - how to ensure accuracy?

I currently allow for daily or weekly repeating events on my calendar app (using fullCalendar). My view has a checkbox that activates two dropdowns: one for the repeat interval (daily, weekly) and one for the frequency (once, twice,…
pepe
  • 9,799
  • 25
  • 110
  • 188
3
votes
3 answers

calendar in android emulator with os version >= 2.2

is it possible to get a calendar in the android simulator for the OS version >= 2.2
ewggwegw
  • 4,262
  • 5
  • 26
  • 27
3
votes
2 answers

Return the correct number of weeks for the Gregorian Calendar

I have a problem with the calendar that I use to get me a smaller number of weeks for certain months For example, this happens to me at Sept 2019, where my number is 5 or in July 2018, which is also 5. How can I fix this? this is my current code: …
Michael
  • 235
  • 1
  • 8
3
votes
0 answers

Angular Calendar get current week, previous weeks, and next weeks

I am trying to implement mattlewis92's angular calendar (https://github.com/mattlewis92/angular-calendar) in my angular application. I am trying to retrieve the current days in the week. eg: start date: 10-20-2019 and End Date: 10-26-2019. Using…
sarasm
  • 305
  • 1
  • 6
  • 16
3
votes
1 answer

How to remove time from date in PySimpleGUI

I do not wish to have the time recorded in either the input box nor the db. I am new to PySimpleGUI, this is my first app using it actually. import PySimpleGUI as sg import datetime main_name_list = ['Joe', 'Billy', …
RobE
  • 93
  • 2
  • 11
3
votes
2 answers

Why does calendar.isSet(field) change to true when calling many of the other methods?

I have a project where the isSet method of a Calendar would be very useful, but between clearing a field and reading the isSet flag for that field I need to call another method of the calendar that is affected by this issue. Here's a sample to…
Pilot_51
  • 7,337
  • 3
  • 29
  • 26
3
votes
1 answer

How to properly store and query availability data

I am building an app that allows people to mark when they are available/unavailable, and allows others to book appointments during that time. However, I am having trouble figuring out a good method to store and query the availability for when…
Reid
  • 4,376
  • 11
  • 43
  • 75
3
votes
2 answers

How to automatically color cells of the current month in calendar

i have a calendar in Excel which continues until July 2020. What i would like to have in my worksheet is an automatic coloration of all cells of the "current month" every time i open the workbook. I did already the "current day auto-coloration" This…
Lomoo
  • 47
  • 7
3
votes
1 answer

Using arrays with the Calendar class in CodeIgniter

I'm trying to create a rather complex array for my calendar application. It's supposed to contain dates, with the name of the day, the 'type' and the events, if any. I got as far as creating this: [dates] { [22] { [day] =>…
Joris Ooms
  • 11,880
  • 17
  • 67
  • 124
3
votes
0 answers

Is there a way to show mat-calendar with multi-month view using angular material?

I want to show the dates from at least two months at a time in mat-calendar. I have realised that there are only 3 expected values for currentView as month, year and multi-year. None of them solve my requirement. I tried to use multi-month but this…
mahesh peddi
  • 787
  • 3
  • 8
  • 21
3
votes
0 answers

Provide a password protected calendar for each individual user

I am building a Public Web App (react, typescript, firebase firestore) in which users can manage events of ther groups. A group can have any number of members, which can all log in to the page to see their next events. I want to dynamically create a…
Andri
  • 553
  • 4
  • 20
3
votes
1 answer

Android calendar app and back button

I am opening an Android calendar from my application in order to create event. For that I use next fragment of code: Intent intent = new Intent(Intent.ACTION_EDIT); intent.setType("vnd.android.cursor.item/event"); ... startActivity(intent); When…
ezamur
  • 2,064
  • 2
  • 22
  • 39
3
votes
5 answers

Week of year calculation differences between Java and Python

I have two parts of my implementation, one in Python and one in Java. Now the problem is I realized their calculations of week number of the year don't match. For example: Java code: private static int getWeekOfYear(int y, int m, int d) { …
Thi Duong Nguyen
  • 1,745
  • 2
  • 12
  • 18