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

How to convert Calendar to Date in Kotlin?

I am trying to add one month to a date with Calendar.getInstance() but I can't figure out why there is error "java.lang.ClassCastException : java.util.Date cannot be cast to java.lang.Number" when trying to get the Calendar to a Date object. Here's…
KotlinIsland
  • 799
  • 1
  • 6
  • 25
3
votes
1 answer

Google Calendar - Get shareable link via API / get 'cid' value for a calendar

Can I get a Google Calendar's 'cid' value via the API? The 'id' returned in a Google Calendar Service API list/insert function is not very useful (unlike the usefulness of the 'id' when working with Google Drive service). Using the returned 'id' I…
Nathan
  • 185
  • 1
  • 2
  • 10
3
votes
1 answer

Setting calendar.selectedDate from the Selected Date of a SimpleRow

I am opening a calendar pop-up helpItem1 when selecting a date from a listView, which all works fine! What I am trying to do is set the calendar.selectedDate, to the date of the listView item each time a different list item is selected. An extract…
Ldweller
  • 327
  • 2
  • 16
3
votes
1 answer

Facing issue in Hive query in generating missing dates

I have a requirement where I need to go back to previous values for a column until 1000 rows and get those previous 1000 dates for my next steps, but all those 1000 previous dates are not present for that column in the table. But I need those…
user2883028
  • 173
  • 6
  • 19
3
votes
1 answer

Can I use multiple calendarID's with the google calendar api?

I want to use the Google Calendar api with multiple calendar IDs. How can I get this working in the following code? function listUpcomingEvents() { gapi.client.calendar.events.list({ 'calendarId': 'calenderID', …
Bart
  • 31
  • 2
3
votes
1 answer

R Package bizdays Giving Unexpected Results

I'm attempting to use the bizdays R package in order to calculate the number of business days in the week excluding weekends and holidays. Below I have a simple examples that evaluates the number of business days between 12/24/2018 and 12/28/2018…
Matt
  • 174
  • 1
  • 2
  • 14
3
votes
1 answer

React Native Arabic Date Picker

How can I change the Date Picker to Arabic ? I have used react-native-hijri-date-picker-android to get the Hijra calendar but its still in English, is there a way to display the Georgian and Hijra together in Arabic or at least one of them in…
Basil Satti
  • 700
  • 1
  • 9
  • 24
3
votes
4 answers

Azure DevOps Calendar - is not allowing to use "Add days off"

Since a few days the function "Add days off" in the Azure DevOps (VSTS) Team Calendar can no longer be used. However, the function could already be used. My account is authorized as project and team administrator. The popup can still be opened but…
Brenners Daniel
  • 389
  • 5
  • 15
3
votes
2 answers

Mat-datepicker-toggle showing behind modal

Helloo, I have a problem on my view using angular 4 and bootstrap 4. When I click on open to show calendar. It's showing behind my modal. I want to change z-index on its class but i don't have acces to the class because it's auto-generated. How can…
3
votes
2 answers

How to get week of year for Jewish calendar

I try to find the week of the year for Jewish to use it in a global app, which provides general services about the international calendar.
john miran
  • 393
  • 2
  • 13
3
votes
1 answer

Calendar control for iPad

Possible Duplicate: Is there any ready-made calendar control for iPhone apps? Are there are calendar controls for iPad. I know a few which are available for the iPhone: iOS Calendar Views
Mustafa
  • 20,504
  • 42
  • 146
  • 209
3
votes
3 answers

How to make start time and end time 12 am to 12 am?

I want my step counter to display steps from 12 am to 12 am I cant find a way to that is working. I am using Google's fitness API here's the code: Calendar cal = Calendar.getInstance(); Date today = new Date(); …
Ayush Kshitij
  • 125
  • 2
  • 11
3
votes
1 answer

ASP.NET Calendar with multiple months showns together

In my asp.net application there is a requirement where there is a textbox and right next to the textbox there is a calendar image. When I click the calendar image a calendar should come up and I should be able to select a date in a month. Normally I…
Sidharth
  • 1,251
  • 1
  • 25
  • 40
3
votes
4 answers

Android convert string to date changes the whole datetime

Why are the outputs are not the same? Date currentTrueSystemDate = Calendar.getInstance().getTime(); SimpleDateFormat sdf = new SimpleDateFormat("dd-MMM-yyyy hh:mm:ss"); sdf.setTimeZone(TimeZone.getTimeZone("Asia/Kuwait")); String…
Aboodnet
  • 143
  • 15
3
votes
2 answers

Highlight date in mat-calendar

I am using Angular material calendar (i.e) mat-calendar. I am trying to highlight some of the dates in the calendar. But I couldn't see any documentation on that. Can anyone help me on that. HTML
Chris
  • 1,236
  • 2
  • 18
  • 34
1 2 3
99
100