Questions tagged [android-time-square]

Standalone Android widget for picking a single date from a calendar view

Standalone Android widget for picking a single date from a calendar view.

11 questions
16
votes
1 answer

Detect listener on month scrolling in android times square

I have implemented code for android times square, but I am unable to detect the event when the month change. I have to highlight multiple range of dates from months. This is the way I have done but, I am unable to detect when month got changed…
Maveňツ
  • 1
  • 12
  • 50
  • 89
8
votes
3 answers

ParseException: Unparseable date: "Wed Mar 30 00:00:00 GMT+05:30 2016" (at offset 4)

Im trying parse a String with a date to convert it into a Date format. Strings are in the following format. Wed Mar 30 00:00:00 GMT+05:30 2016 But when im parsing the String i get a error saying, java.text.ParseException: Unparseable date: "Wed Mar…
Ryan Aluvihare
  • 225
  • 1
  • 2
  • 9
3
votes
0 answers

Deselect a selected date of range in Time square library of Android

Here I want to deselect a date of a range which is selected using Time Square library. I'm getting selection of range by: if (selectionMode == SelectionMode.RANGE && selectedCells.size() > 1) { // Select all days in between start and end. …
Anshul Tyagi
  • 2,076
  • 4
  • 34
  • 65
3
votes
3 answers

How to get the selected date from android TimeSquare library?

How to get user selected date from android TimeSquare library? I used getselectedate() but it didn't work and OnClickListener also not working with this. public class HomeActivity extends Activity { private String dateHolder; private…
2
votes
0 answers

Day of week is off by one by one day Android-times-square

We are facing an issue for the day off for the calendar by one day when the timezone is set to AUTO mode in Samsung S7. Even after the few hours calendar is showing the perfect dates with days. For your reference, I am attaching the screenshot for…
Kishan sharma
  • 701
  • 1
  • 6
  • 20
2
votes
2 answers

Times-Square and today's date

Quick question to users of Square's Times-Square calendar widget. Is there any way NOT to have it highlight's today's date? Currently, it highlights today's date with a dark grey and I would like to disable that. I have looked at the GitHub code…
Perry Hoekstra
  • 2,687
  • 3
  • 33
  • 52
1
vote
0 answers

get the two selected dates for check in and check out using time square

I want to get the first and last date for check-in and check-out to be displayed in 2 textviews I am using timesquare Android studio and SelectionMode = RANGE here is my codes : public class SelectDates extends AppCompatActivity { TextView checkin,…
jo10
  • 111
  • 6
0
votes
1 answer

Compare between different time and then and display error message android

I have mostly spent 1 day for just comparing two times but no worth result until now. I am basically trying to compare between two different times which I want to avoid storing data id the first time less than the second time but I couldn't. In…
0
votes
3 answers

Android - Working example of how to disable weekends using Square's TimeSquare Calendar

I'm hoping to get a an example from someone who worked with Square's TimeSquare date-picker calendar. I wish to disable all the weekend dates for the coming year. Anyone achieved this? Thanks
RMcGuigan
  • 1,147
  • 2
  • 7
  • 11
0
votes
0 answers

Is pagination(scrolling months in the calendar horizontally using arrows) possible in time square calendar in android?

This is what we want: enter image description here This is what we are getting now using time square: enter image description here we wish to select multiple dates(random not in range) at the same time which apparently caldroid does not support.So…
0
votes
1 answer

Get last quarter of current time in android?

I am tying to get last quarter of current time in android. for example the time is 12:45:00 and I need to have: 12:30:00 12:45:00 or the time is 10:50:00 and I need to have : 10:35:00 10:50:00 etc. I write this code and I get result true : …
user4813855