Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,739,156 Members 46,830 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Custom Week Number

Tip us?
 
kutukia
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 24
Join Date: Jan 2012
Default [Q] Custom Week Number

As the title suggests is it possible for Zooper Widget to display customized week numbers?

I'm trying to migrate my calendar widgets from simple calendar widget to zooper and in simple calendar there was an option that allows for arbitrary shifting of week numbers. I'm trying to replicate that in Zooper widget but I haven't found any appropriate way of doing so. If any kind soul can point me in the right direction that would be greatly appreciated.
 
kwerdenker
Old
#2  
kwerdenker's Avatar
Recognized Themer
Thanks Meter 1999
Posts: 1,337
Join Date: Apr 2010
Location: Probably the Zooper Forums

 
DONATE TO ME
Quote:
Originally Posted by kutukia View Post
As the title suggests is it possible for Zooper Widget to display customized week numbers?

I'm trying to migrate my calendar widgets from simple calendar widget to zooper and in simple calendar there was an option that allows for arbitrary shifting of week numbers. I'm trying to replicate that in Zooper widget but I haven't found any appropriate way of doing so. If any kind soul can point me in the right direction that would be greatly appreciated.
I'm not sure I understand what you are trying to do. Could you please explain what you mean with "arbitrary shifting of week numbers"?

Please use the forums for your Zooper related questions. I won't respond to PMs with questions that can/should be asked there. Thank you.
 
kutukia
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 24
Join Date: Jan 2012
Quote:
Originally Posted by kwerdenker View Post
I'm not sure I understand what you are trying to do. Could you please explain what you mean with "arbitrary shifting of week numbers"?
Well for example the week of the year option displayed in Zooper widget currently would be 3, and I would like to change it so that Zooper displays it as 1.

Hope that clarifies.
 
kwerdenker
Old
#4  
kwerdenker's Avatar
Recognized Themer
Thanks Meter 1999
Posts: 1,337
Join Date: Apr 2010
Location: Probably the Zooper Forums

 
DONATE TO ME
Quote:
Originally Posted by kutukia View Post
Well for example the week of the year option displayed in Zooper widget currently would be 3, and I would like to change it so that Zooper displays it as 1.

Hope that clarifies.
So you want the current week always to be 1 instead of 4,5,etc. and the following weeks to be 2,3,4, etc?

Please use the forums for your Zooper related questions. I won't respond to PMs with questions that can/should be asked there. Thank you.
 
kutukia
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 24
Join Date: Jan 2012
Quote:
Originally Posted by kwerdenker View Post
So you want the current week always to be 1 instead of 4,5,etc. and the following weeks to be 2,3,4, etc?
Yep, that is correct.

Is there anyway to achieve that?
 
kwerdenker
Old
#6  
kwerdenker's Avatar
Recognized Themer
Thanks Meter 1999
Posts: 1,337
Join Date: Apr 2010
Location: Probably the Zooper Forums

 
DONATE TO ME
Quote:
Originally Posted by kutukia View Post
Yep, that is correct.

Is there anyway to achieve that?
Then yes, I think it's possible. Instead of writing #C0Sw# to get the week in year of an event you write $(#C0Sw#-(#Dw#-1))$. This should calculate the weeks value based on the current week.

Please use the forums for your Zooper related questions. I won't respond to PMs with questions that can/should be asked there. Thank you.
The Following User Says Thank You to kwerdenker For This Useful Post: [ Click to Expand ]
 
kutukia
Old
#7  
Junior Member - OP
Thanks Meter 0
Posts: 24
Join Date: Jan 2012
Quote:
Originally Posted by kwerdenker View Post
Then yes, I think it's possible. Instead of writing #C0Sw# to get the week in year of an event you write $(#C0Sw#-(#Dw#-1))$. This should calculate the weeks value based on the current week.
That works! Thanks alot!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Device Review: OnePlus One

Seemingly every day, there are a bunch of new devices being released. Some are budget devices and some are … more

Browse the Internet with the Innovative Atlas Web Browser

For the most part, Chrome, Firefox, and Dolphin Browser have no real rivals among … more

Choose from Over a Thousand Battery Styles with 3Minit Battery Mod

The battery style in stock Android looks pretty dull. It doesn’t … more

Organize Your Cloud Storage Files with Unclouded

Cloud storage services like Dropbox or Google Drive have grown in popularity dramatically … more