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
0 answers

Can't dynamically disabled ng-pick-datetime component

i am using a ng-pick-datetime component (https://www.npmjs.com/package/ng-pick-datetime) which looks like this :
Anto
  • 125
  • 8
3
votes
2 answers

Magical 00:09 timezone with DatatypeFactory

In java you there is a javax.xml.datatype.DatatypeFactory which can be used to import and export xml dates as follows. String xmlDateIn = "1900-01-01T12:00:00"; DatatypeFactory df = DatatypeFactory.newInstance(); XMLGregorianCalendar…
bvdb
  • 22,839
  • 10
  • 110
  • 123
3
votes
3 answers

Call method of class from another package without instantiating the class

Am new to Java and did not understand following piece of code from here SimpleDateFormat format = new SimpleDateFormat( "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", Locale.US); format.setTimeZone(TimeZone.getTimeZone("UTC")); After creating and instance…
Mihir
  • 95
  • 2
  • 11
3
votes
2 answers

Calendar weekview in flutter

I am trying to program a weekview like in the google calendar for flutter. I want to display a timetable where the events begin and end at individual times (e.g. 9:34, 17:11) and at exactly the times they should be displayed in the calendar. So not…
Hhorn
  • 223
  • 2
  • 6
3
votes
3 answers

Issue subtracting days from calendar

I have an horizontal calendar in my application. So I have implemented the following library https://github.com/Mulham-Raee/Horizontal-Calendar I also have implemented my own back and forward button. Pressing back takes back one day from current…
BraveEvidence
  • 53
  • 11
  • 45
  • 119
3
votes
1 answer

Android Calender view color multiple dates and disable click

I am making an attendance app i want to highlight multiple dates where student is absent and also make calendar view not clickable. only want to show calendar.
Bali G
  • 102
  • 2
  • 8
3
votes
2 answers

Swift 4 How to get all events from calendar?

I am using Swift 4.1. And I want to write a function which will collect all events from all calendars in Calendar app of iOS. Thanks to this answer on stackoverflow: How to get all Events out of a Calendar (Swift) I was able to write my own class…
Alex
  • 1,038
  • 2
  • 12
  • 32
3
votes
2 answers

Angular 4 Date-Picker - How to restrict Future and Past Days

I want to restrict the future and past days using Angular 4 Date-Picker.I just want to enable Current Date[today] only.How can i solve this. Can anyone have idea...??? This is my template:
D.Sridhar
  • 139
  • 1
  • 4
  • 11
3
votes
2 answers

Simple drop-down calendar + date picker in Python

Trying to create a simple drop-down calendar with a date picker in Python such that a field drops down to show a calendar where after a date is selected is captured - I have not yet come across a clean, simple and short code for Python 3.6.1.…
Garima Tiwari
  • 1,490
  • 6
  • 28
  • 46
3
votes
1 answer

Outlook: Run code when a calendar entry is added or updated?

I currently have some VBA code that runs through and modifies all my calendar entries. I'd like to no longer run this as a batch process. Is there an API hook that will tell me when a calendar entry is added or modified so that I can run it against…
sherbang
  • 15,696
  • 1
  • 22
  • 16
3
votes
1 answer

WPF Calendar: Customize the control to show calendar week numbers

Currently i'm creating a Custom Calendar Control that inherits from the Standard WPF Calendar. Thanks to Mr. Veeneman i got Highlighting for specific dates to work http://www.codeproject.com/KB/WPF/ExtendingWPFCalendar.aspx. Now i'm trying to add…
ovm
  • 2,452
  • 3
  • 28
  • 51
3
votes
2 answers

How to calculate "Friday before" in Java or Groovy?

I need to be able to calculate the "Friday before" today in Java or Groovy. For example, if today is Monday, February 21, the "Friday before" would be Friday, February 18. And if today was Tuesday, February 1, the "Friday before" would be Friday,…
Jordan Dea-Mattson
  • 5,791
  • 5
  • 38
  • 53
3
votes
0 answers

Adding a unique identifier to EKEvent

In my app I'm creating an EKEvent to mark an appointment I make from server data, and then I add it to the phone's main calendar. Doing that, I would like to save the appointment's Id in the calendar so that I can fetch it easily. While exploring…
Mova
  • 43
  • 5
3
votes
1 answer

Google OAuth TypeError: Cannot read property 'OAuth2' of undefined

I am trying to build an App using Google Calendar API. I am following the guide:https://developers.google.com/calendar/quickstart/nodejs. However, when, I run the project I am getting the below error TypeError: Cannot read property 'OAuth2' of…
Dibyendu Roy
  • 93
  • 2
  • 10
3
votes
1 answer

How to get event name on click particular date using moment js calendar..?

I'm integrating calendar in one of project using momentjs. I want to display event name based on date selection. let me take one example: if I choose date(2018-04-01) at that time I want to display custom event name. Here is my JavaScript code,…
K-Series
  • 189
  • 1
  • 2
  • 16
1 2 3
99
100